-
Notifications
You must be signed in to change notification settings - Fork 431
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 option to request renewing user data #855
Comments
I think this is good, thanks! |
Thanks for approving. |
Any eta for next release? |
Hi @emresalum1993 This has been released in version 11.2.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
In my application, a user can update his profile. After he submits the form, his claims in the oidc provider (IdentityServer4) database are updated and the user data in the browser storage becomes outdated.
Therefore, I need to be able to request renewing user data (i.e. call userinfo endpoint of the oidc provider) after the profile update. In version 10, there was a method called
getUserinfo()
, which I used for it. In version 11 (before 11.1.4), I useforceRefreshSession()
to renew tokens as well as user data. Since #812, there is no way to do it.Describe the solution you'd like
Add a parameter
renewUserInfoAfterTokenRenew
toOpenIdConfiguration
and if it is set totrue
, then renew user data after a token renew.Describe alternatives you've considered
shouldRefreshUserData
to theforceRefreshSession()
method inOidcSecurityService
.Additional context
I will create a PR to demonstrate my idea but I am open also to other ways of solving my problem.
The text was updated successfully, but these errors were encountered: