How to generate a JWT at userlogin in Okta portal using Okta as OIDC provider. I want to assume an AWS role using this JWT

Here how to do client flow credential:

You will need to recreate a new JWT token in your API…

Build a JWT for Client Authentication | Okta Developer the code is only in Java or JS but at least we can see what we need.

I want to have the same flow as your… but i also stuck.

my problem : How to lock down an API token to only access what our application needs - #12 by andrea