Forum Discussion

curious7's avatar
curious7
Brass Contributor
Oct 06, 2026

Azure API Management (APIM) developer portal signup/signin popup page times out after 60 seconds

Azure API Management (APIM) developer portal signup/signin popup page times out after 60 seconds.

I used Developer tools to capture the browser trace and noticed the "popupBridgeTimeout" setting in the theme.js as per the attached screenshot. The line popupBridgeTimeout: userInputSystem?.popupBridgeTimeout || 6e4 seems to means "use the app's configured value, otherwise 60 seconds.". From my search it seems MSAL has a built-in default popup timeout constant is 60000 ms, and popupBridgeTimeout falls back to it when the app doesn't set one.

Q1:- Could this timeout be due to this setting or is there somewhere else I should be looking?
Q2:- And how can I increase that time?
Q3:- I am using Identity Experience Framework (IEF) policy with B2C. Could there be any setting in there that is causing this?

 

1 Reply

  • Your trace points to the APIM developer portal’s MSAL popup bridge, not an IEF token or session lifetime. The fallback in theme.js resolves to 60,000 ms, matching MSAL’s documented popup-operation timeout. The managed portal does not expose that value as a supported setting, so changing B2C policy lifetimes will not extend it. Capture a HAR, then run the same policy directly with B2C’s Run now option. If direct execution exceeds 60 seconds while the portal fails, the policy is not causing the cutoff. Verify APIM uses MSAL, confirm the SPA redirect URI exactly matches the APIM-generated URI, and republish the portal. Check IEF/Application Insights with the correlation ID for policy errors. If the managed portal still times out, open an Azure support case with the HAR, correlation ID, APIM tier, region, and timestamp. Increasing this limit would require self-hosting and maintaining modified portal code.