Here are some screenshots from the browser console which can help to understand the issue better. Does MSAL in Blazor provides any customization to disable this hidden iframe and enable the normal browser redirect?ī(options => I need to know is there any way to fix this. After 24 hours the application is trying to login the user through a hidden iframe and for some security reason some of the browsers are throwing a warning and the login process fails.Īn iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing. This is the time when the refresh token expires(SPA with PKEC in azure B2C has 24 hour expiry for refresh token). ![]() ![]() This works well.īut we are facing an issue if we try to access the application after a period of 24 hours of inactivity. Using local storage to save the tokens and the goal is not to ask user credentials again if the user tries to access the same site till the refresh token expires. We are using Azure B2C login with a Blazor wasm application.
0 Comments
Leave a Reply. |