How to create and setup JWT for repo supervisor (case with lambda)

Greetings, I just found repo_supervisor, and I’m trying to evaluate it. I have followed the webhook-lambda approach and I’m failing to understand how to properly create a JWT and finish the configuration of both ends. Is there some entry point or tutorial for the process that I need to follow? I have created an API under Auth0 Management API, but I don’t understand where or how to create the secret and the jws.

Thank you very much for your time.

Hey @pampatzoglou, Welcome to Auth0 community!

If you are looking for a JWT access token for Authorization, you can add the Appropriate “audience” parameter in the /authorize request of the Authorization code flow. Your audience will be the API identifier you need Authorization for.

https://auth0.com/docs/flows/call-your-api-using-the-authorization-code-flow

You can make the above modifications in our sample quickstarts to get JWT tokens as well

Some scenarios on how JSON web tokens are used:

Authorization guide:

Regards,
Sidharth Chaudhary

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.