Loading...

JWT Authentication and the Refreshed SDK Overview

Comments

4 comments

  • Ravikiran Raghunath

    i followed the instructions on the postman and it still doesnt work. Would appreciate some assistance with the same. Dont we have a separate Authentication API? What URL do i call to do the Authentication API. the JSOn collection i downloaded and the screenshots dont match

     

  • Rudy Scoggins

    Hi Ravikiran,

    Are you referring to the readme on this example repo?

    To authenticate using the API, you generate a JWT on the client side using your API User credentials.  Then you send in the JWT as a bearer token when performing an API call.

    Make sure to download and import the variable collection that is used in the API collections for Postman.

    Hope this helps,

    Rudy

  • Hello.

    Has anyone sorted out how to use a PowerAutomate (http request?) action to generate a JWT?  

  • Rudy Scoggins

    Hi Zakaria,

    Have you used Azure Functions with Power Automate before?  You should be able to set up a C# function to generate the JWT and then use your mentioned http request to call your generated function that returns the JWT.  I'd recommend using the SDK if you can and extracting the JWT from there for a simpler setup.

    Hope this helps,
    Rudy

Please sign in to leave a comment.