You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing an issue on the web platform where the redirect page does not close automatically and returns control back to my app.
if (_interactionMode == B2CInteractionMode.REDIRECT) {
var result = await _b2cApp!.acquireTokenRedirect(RedirectRequest()
..scopes = scopes
..authority = _getAuthorityFromPolicyName(policyName)
..loginHint = loginHint);
return; //redirect flow will restart the app
} else {
var result = await _b2cApp!.acquireTokenPopup(PopupRequest()
..scopes = scopes
..authority = _getAuthorityFromPolicyName(policyName)
..loginHint = loginHint);
result is never returned for both acquireTokenRedirect & acquireTokenPopup
I have integrated the B2C flow and JSON config into my Android + Web app, and everything works fine except for this specific issue. Upon signing in, the redirect page does not close automatically, unlike on Android.
Please let me know if there is something I have missed or if any configuration or implementation steps could be causing this behavior.
The text was updated successfully, but these errors were encountered:
after tracing the code, it seems that _convertMsalPromise never finished/returned a value which is called by acquireTokenRedirect and acquireTokenPopup
Issue Description
I'm facing an issue on the web platform where the redirect page does not close automatically and returns control back to my app.
result
is never returned for bothacquireTokenRedirect
&acquireTokenPopup
I have integrated the B2C flow and JSON config into my Android + Web app, and everything works fine except for this specific issue. Upon signing in, the redirect page does not close automatically, unlike on Android.
Please let me know if there is something I have missed or if any configuration or implementation steps could be causing this behavior.
The text was updated successfully, but these errors were encountered: