IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

How to maintain access token and refresh token in database instead memory?

Open atpyk opened this issue 9 years ago • 3 comments

I can obtain an access token, but it will lose all data if the identity server crash or meltdown, so that cannot to do token validation. Is there any way to store token in database, not in memory? and how? Thanks for your help:)

atpyk avatar Dec 10 '16 02:12 atpyk

By implementing IPersistedGrantStore - check our EF Core implementation.

leastprivilege avatar Dec 10 '16 12:12 leastprivilege

@leastprivilege Many thanks, buddy

atpyk avatar Dec 12 '16 05:12 atpyk

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 15 '20 07:01 lock[bot]