You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a oauth2-server and would like to monitor the uptime of the token endpoint. Since the refresh-token changes with every token refresh, this requires a new secret after every invocation.
Example
Example Request
POST /oauth2/token
Content-Type: application/x-www-form-urlencoded
client_id=XYZ&client_secret=SECRET&grant_type=refresh_token&refresh_token=VOLATILE_SECRET
Example Response
{
"access_token": "...",
"refresh_token": "THIS WOULD NEED TO BE SAVED AS THE NEW VOLATILE_SECRET",
"scope": "...",
"token_type": "Bearer",
"expires_in": 1795
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Add support for secrets that change upon use.
I'm running a oauth2-server and would like to monitor the uptime of the token endpoint. Since the refresh-token changes with every token refresh, this requires a new secret after every invocation.
Example
Example Request
Example Response
Note
Beta Was this translation helpful? Give feedback.
All reactions