C
C#7d 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
Alex7d ago
.
Salman
Salman7d 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
Alex7d 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
Salman7d ago
you can start by looking at the existing implementation and then try to make your own one perhaps