Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add allowRefreshToken #19

Open
KyleJune opened this issue Oct 9, 2021 · 0 comments
Open

Add allowRefreshToken #19

KyleJune opened this issue Oct 9, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@KyleJune
Copy link
Member

KyleJune commented Oct 9, 2021

Add an allowRefreshToken function to token service for determining if a refresh token should be generated based on client, user, and scope. This could be useful for granting temporary authorization that will end when the access token expires. Keep allowRefreshToken option on the grants so that it can still be easily disabled for all token requests to a grant type. If allowed for the grant, then call allowRefreshToken for the service. Default new function to resolving to true since it already requires refresh tokens be enabled at the grant level.

@KyleJune KyleJune changed the title Make allowRefreshToken dynamic Add allowRefreshToken Apr 3, 2022
@KyleJune KyleJune added the enhancement New feature or request label Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant