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 think that my question is pretty straight forward. I want to change the access_token_expire_secondsby application_id something custom like scopes classes.
Kind Regards.
The text was updated successfully, but these errors were encountered:
I think you could write a custom validator, subclassing oauth2_provider.oauth2_validators.OAuth2Validator and overriding the save_bearer_token() method. Within this method, you know the request.client.
overriding the validator should work. I would be open to a PR that introduces token settings at the application level it should defer the expires value to the Application model like validate_redirect_uri with something like
Hi,
I think that my question is pretty straight forward. I want to change the access_token_expire_secondsby application_id something custom like scopes classes.
Kind Regards.
The text was updated successfully, but these errors were encountered: