Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,907 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a b2c sign in custom policy (which calls a REST API Connector)
In my spa app, I can sign in successfully (using msaljs 2).
But if I then call msalInstance.acquireTokenSilent()
, it does not run through the custom policy again (ie, does not call my REST API Connector)
Calling either msalInstance.acquireTokenRedirect
or msalInstance.acquireTokenPopup
runs through the custom policy as I expected.
I have tried passing in forceRefresh
, but no luck
msalInstance.acquireTokenSilent({ scopes, forceRefresh: true })
Is there any way to force acquireTokenSilent
to run through the custom policy again, without requiring a popup/redirect?
Thanks