-
Notifications
You must be signed in to change notification settings - Fork 606
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
Allow access tokens to be refreshed to gain new rights #2271
Labels
Comments
I need to do this as well, is there any activity here? My use case is the exact same as @BryanCrotaz where a user has certain claim data updated and I need a way to get a fresh token. |
Was able to get it working but would still be nice if refreshToken() were available on the service:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Access tokens are bearer tokens, so they contain the information regarding what this user is allowed to do.
Scenario:
User should be able to refresh their rights, under the hood calling
Of course some authentication methods don't use bearer tokens, so this would be meaningless in those cases.
Better:
All
ember-simple-auth
needs to do is to make the authenticator object a public property of the session service.The text was updated successfully, but these errors were encountered: