I am currently working on an Angular 8 app that is integrated with .NET Core. My goal is to find a way to refresh a JWT token within the application.
Within the integration, users are able to validate and receive a token which expires after 30 minutes.
The desired outcome is for the Angular app to detect when the token only has 5 minutes left before expiration, prompting it to automatically generate a new token by making a call to the web API.