I am using an iframe inside my web application which is registered in Azure and IdP is MS Azure. Now using MSAL I can get the access_token and id_token by using acquireTokenSilent method. But when the access_token expires, how do I refresh it from the iframe scope(where MSAL is not available). Since this is a implicit grant I do not hold refresh token.
Is it possible to get the new access_token using any of the below
- client_id
- client_secret
- Old access token or id_token and raw_id_token
I have tried the 'token' and 'authorise' endpoints from login.microsoftonline.com, but those could not provide me the new access_token.