Thank you for posting your query on Microsoft Q&A, from above description I could understand that you wanted to know, if WAM plugin will request a new access token at the threshold time without app requesting it (just like refresh token)?
The answer to this would be "NO", WAM would not authorize to renew PRT to get access token until requested by the application:
The WAM plugin can renew the PRT during these token requests in two different ways:
- An app requests WAM for an access token silently but there’s no refresh token available for that app. In this case, WAM uses the PRT to request a token for the app and gets back a new PRT in the response.
- An app requests WAM for an access token but the PRT is invalid or Azure AD requires extra authorization (for example, Azure AD Multifactor Authentication). In this scenario, WAM initiates an interactive logon requiring the user to reauthenticate or provide extra verification and a new PRT is issued on successful authentication.
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.