How we can set the access token expiration time OAuth 2.0

Alaa Tahraoui
Alaa Tahraoui EN Free Trial Posts: 1 New Here

I'm implementing the authentication and authorization process using OAuth 2.0 and Authorization Code Flow, and while requesting for the access token I get the response with these information "access_token", "token_type" and "scope", there's no expires_in parameter. I also tried to get the details of the token and the parameter expires_in was null.

My question is how I can set the expires_in parameter for the requested access token?

Thank you in advance.

Best Answer

  • Miša Hennin
    Miša Hennin Admin, MeisterLobster, EN Business Posts: 1,668 Community Admin
    Answer ✓

    Hey!

    I checked this with our devs and the authorization token doesn't have an expiration date so you can't set it.

    If you'd like to see this feature, please submit a feature request!

    Sorry for the disappointment here.

    Best,

    Miša