VMware Aria Automation Orchestrator

 View Only
  • 1.  JWT - How to get token and do REST

    Posted Jan 20, 2026 09:12 AM
    Edited by Mark Koh Jan 21, 2026 10:43 AM

    Hello, 

    I need to connect to anendpoint via REST, which only supports JWT (JSON Web Token). I simply can't get it to work. I have my JSON details (private_key_id, private_key, token_uri etc). I understand I need to create a header and a claim which are to be base64 encoded. I believe I do the encoded correctly via a Python action... But what then?...

    Is anyone using JW, who can can guide me how to do it? I don't seem to find any information about this. 

    Thanks, and regards, K



    -------------------------------------------



  • 2.  RE: JWT - How to get token and do REST

    Posted Jan 31, 2026 10:55 AM

    Hi,

    what exactly is your problem? To send a proper POST request or to parse a response using received token?



    ------------------------------
    If you find the answer helpful, please click on the RECOMMEND button.

    Please visit my blog to get more information: https://clouddepth.com
    ------------------------------



  • 3.  RE: JWT - How to get token and do REST

    Posted Feb 01, 2026 10:45 PM

    See my page  : https://www.code2cloud9.org/community/automating-enterprise-integrations-mastering-jwt-bearer-flow-in-java

    -------------------------------------------



  • 4.  RE: JWT - How to get token and do REST

    Posted Feb 01, 2026 10:45 PM

    See if this is useful for use JWT token : 

    https://www.code2cloud9.org/community/automating-enterprise-integrations-mastering-jwt-bearer-flow-in-java/2976751_automating-enterprise-integrations-mastering-jwt-bearer-flow-in-java

    -------------------------------------------