'Keep me signed in' not available when redirect url is chrome-extension://xxxx
See original GitHub issueLibrary
-
msal@1.x.x
or@azure/msal@1.x.x
-
@azure/msal-browser@2.x.x
-
@azure/msal-angular@0.x.x
-
@azure/msal-angular@1.x.x
-
@azure/msal-angularjs@1.x.x
Description
We are creating an edge extension using msal.js to authenticate users against AAD. For edge extension the redirect url is in such format chrome-extension://xxxx. I noticed that in such case the ‘Keep me signed in’ option is not longer available. However, if I just replaced the redirect_url segment in the url with https://xxxx, the ‘Keep me signed in’ option showed up.
I am wondering if there is something that I should do to enable KMSI, or it is a bug/limitation on the msal/AAD side.
Thanks.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Redirecting URL in a chrome extension - Stack Overflow
Here's an example using the webRequest API, a simple extension which allows me to browse pages on the Pirate bay, even though the...
Read more >How To Fix Google Chrome Redirects - YouTube
In this tutorial, I show you how to fix Google Chrome Redirecting. ... malware or malicious Chrome extension causing Chrome to redirect when ......
Read more >Skip Redirect
Skip intermediary pages that some pages use before redirecting to a final page.
Read more >Fix connection errors - Google Chrome Help
Open the page you were visiting in an Incognito window. If the page opens, a Chrome extension isn't working right. To fix the...
Read more >Signing in users from a Chrome extension - Google Cloud
Phone and multi-factor authentication are not supported. Chrome extensions cannot use HTTP redirects, so you'll need to use pop-up operations ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is expected behavior at this time for AAD. Non-HTTP(S) redirect URIs at this time indicate to the login server that the request is going to a native application or otherwise embedded app, and therefore there’s no reason to keep the session around or show KMSI.
In your scenario this is not desirable, of course, since you are inside a browser and would like the session to stick around. This limitation has cropped up as well in native apps using the system webview/system browser on Windows/Android/iOS as well, so we’re looking at was to improve our detection of these browser scenarios. I don’t have any estimates on if or when that will be possible however.
Closing as no further action needed by msal