C
C#6mo ago
Alex

✅ Refresh Token + JWT + Identity

Hi! I can't find a way how to implement refresh token part with Identity. Most tutorials online don't use Identity and write their own implementation. Should I extend identity user or is there a better way? I want to learn how it can be done the right way.
4 Replies
Alex
AlexOP6mo ago
.
Salman
Salman6mo ago
Well Identity endpoints provide you the endpoint for token refresh out of the box ...You can use that if it suits your need. Else you can make your own . Extending the Identity User has nothing to do with it
Alex
AlexOP6mo ago
That's great that it providers solution out of the box, but I want to write my own endpoint to understand how it works and how it can be implemented with Identity
Salman
Salman6mo ago
you can start by looking at the existing implementation and then try to make your own one perhaps
Want results from more Discord servers?
Add your server