In this video tutorial, we will be creating the User Authentication Handler to set extra layer of Role based protection to the API endpoints in the CMS application. We had Already implemented the Refresh Token Method when implementing the JWT authentication functionality. After we place the Authentication Handler on the API endpoints we would be able to call the Refresh Token Methods if the JWT Token is Expired and Validated for where it was issued.
I have added the steps in comments for you to understand the process, also I recommend you to set debugger and change the token expiry time for testing the Refresh token functionality
----Video Number : 63
----BLOG
https://techhowdy.com/
----SOURCE CODE (If you need access to the code - you can find it here)
https://dev.azure.com/Techhowdy/_git/...