-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getAccountByUsername
returns null on IOS
#5617
Comments
@KennethBWSong Can you please provide the MSAL logs enabling the "verbose" mode? Instructions can be found here. |
@sameerag Do you have any idea how I can check the logs on IOS? |
Teams has a unique auth process on mobile. Is this flow browser in iOS -> Teams app in iOS SSO? |
It is in an Teams Tab app on IOS. Actually, this flow works on Teams client as well as Teams Web client, and only have this issue on Teams IOS client. |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
@sameerag , any update? |
@SLdragon @pjpraveenjayakumar The issue is still under investigation. We heard from a few other folks that mobile platforms have an issue with MSAL JS. We do not develop for mobile but expect the mobile browsers work as web browsers too. As the other issue mentions, this could be something to do with webOS not allowing us to access the memory. Will keep you folks posted. |
@KennethBWSong This issue has been automatically marked as stale because it is marked as requiring author feedback but has not had any activity for 5 days. If your issue has been resolved please let us know by closing the issue. If your issue has not been resolved please leave a comment to keep this open. It will be closed automatically in 7 days if it remains stale. |
Thanks, if you have any update, please let we know. |
Having the same issue (#5667). This seems like a major bug / limitation on multiple mobile browsers, both iOS and Android (unless we are missing something configuration related). |
@sameerag Please let us know in this thread if you have any update, thx! |
@sameerag Any update? |
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
1 similar comment
This issue requires attention from the MSAL.js team and has not seen activity in 5 days. @sameerag please follow up. |
@SLdragon We officially do not support mobile browsers though MSAL JS is expected to work as long as they work as web browsers (in supporting popup vs redirect, browser storage etc). I would appreciate if anyone who can repro this issue can provide the network trace and verbose logs (instructions here) for me to check what may be happening. Please also share the cache status in a |
@KennethBWSong This issue has been automatically marked as stale because it is marked as requiring author feedback but has not had any activity for 5 days. If your issue has been resolved please let us know by closing the issue. If your issue has not been resolved please leave a comment to keep this open. It will be closed automatically in 7 days if it remains stale. |
any news? |
this is not solved! |
This is affecting me too. It is hard to trace since it's happening inside the iOS Teams app, which doesn't provide DevTools / Remote Debugging support as far as I know. I am able to login interactively, but nothing is stored to |
Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.32.2
Wrapper Library
Not Applicable
Wrapper Library Version
None
Public or Confidential Client?
Public
Description
We have a Teams Tab app using
msal-browser
for SSO. When user first trigger SSO in this app, SSO works properly. If the user logout and login Teams, and we found user will be asked to login in popup login page again on Teams IOS to get user profile, while the same app on Windows can get user profile directly. When debugging, we found that the root cause should begetAccountByUsername
returns null on IOS, while returns an account object on Windows.You can find sample app here.
Related bug here.
Error Message
No response
Msal Logs
No response
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
Authorization
and login in pop-up page, you can get user profile nowExpected Behavior
Should have same behavior as on Windows which can directly get user profile when login again.
Identity Provider
Azure AD / MSA
Browsers Affected (Select all that apply)
Edge
Regression
No response
Source
Internal (Microsoft)
The text was updated successfully, but these errors were encountered: