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

"KEY" value is not update after RefreshToken Operation #1477

Open
sc-ketanbhavsar opened this issue Nov 11, 2024 · 2 comments
Open

"KEY" value is not update after RefreshToken Operation #1477

sc-ketanbhavsar opened this issue Nov 11, 2024 · 2 comments

Comments

@sc-ketanbhavsar
Copy link

Which version of Duende IdentityServer are you using? 7.0.8

Which version of .NET are you using? 8.0

Describe the bug
After calling UpdateRefreshTokenAsync method, The Key is not updating. Duende IdentityServer 6.3.8 has no issue. But, as we migrate 7.0.8, the Application is not throw any error but the Database-> PersistedGrants-> "Key" col is not update.

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior.

Expected behavior

A clear and concise description of what you expected to happen.

Log output/exception with stacktrace

data

Additional context

Add any other context about the problem here.

@RolandGuijt
Copy link

Can you tell me the client's configuration setting for RefreshTokenUsage?

In IdentityServer 7 there was a change in the default client configuration settings concerning refresh tokens. The default for 'RefreshTokenUsage' is now ReUse. In IdentityServer 6 is was OneTimeOnly. Maybe this has something to do with the change in behavior you're seeing.

@RolandGuijt
Copy link

@sc-ketanbhavsar Would you like to follow up on this? If not I'd like to close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants