Length of time for authorization code
-
In the oauth flow, when our backend is given the temporary code which we use to create the jwt, for how long is that code valid?
-
It's configurable. If you go to the tenant details page, then to the
Advanced
tab, you'll see the setting there; it's calledAuthorization Code
. It's also documented in the tenant API, search fortenant.externalIdentifierConfiguration.authorizationGrantIdTimeToLiveInSeconds
here: https://fusionauth.io/docs/v1/tech/apis/tenantsLooks like valid durations are between 1 and 600 seconds.