ServerError msal-browser outlook add-in on Android #7075
Labels
bug-unconfirmed
A reported bug that needs to be investigated and confirmed
msal-browser
Related to msal-browser package
Needs: Attention 👋
Awaiting response from the MSAL.js team
no-issue-activity
Issue author has not responded in 5 days
public-client
Issues regarding PublicClientApplications
question
Customer is asking for a clarification, use case or information.
Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.13.0
Wrapper Library
Not Applicable
Wrapper Library Version
None
Public or Confidential Client?
Public
Description
When trying to initiate login/authentication to get user-tokens in an Outlook add-in on Android, both
acquireTokenPopup
andloginPopup
producesServerError
s without a lot more info. All is working as it should in both browser, in-app on desktop, and in-app on iOS.We are initializing the client as seen in the codesnippet, same with how the token-fetching is being done.
Again, there are some very aggressive ways we've been trying now as might see from the above code, but to no avail on any of our approaches. So far, it seems that all the approaches we've had, errors before even trying to trigger a popup to be opened, as the android Outlook app errors immediately, without a popup opening/closing, only showing the page that would be the opener of said popup.
We're at an impass on where to continue now, as we can't seem to figure out any more approaches on what to do next.
Error Message
ServerError
with the most we got out of stack-traces is that it fails on
const a = this.nestedAppAuthAdapter.fromBridgeError(n);
inNestedAppAuthController.js
, in the functionacquireTokenInteractive
MSAL Logs
Seeing Android is somewhat impossible to debug, this is the closest we've gotten getting verbose logs.
Network Trace (Preferrably Fiddler)
MSAL Configuration
Relevant Code Snippets
Reproduction Steps
['openid', 'profile', 'User.Read', 'ThreatSubmission.Read', 'Mail.ReadWrite.Shared', 'Mail.Send.Shared']
Expected Behavior
To not crash and spit out a
ServerError
, but instead open a popup like every other environment and platform Outlook runs on.Identity Provider
Entra ID (formerly Azure AD) / MSA
Browsers Affected (Select all that apply)
Other
Regression
No response
Source
External (Customer)
The text was updated successfully, but these errors were encountered: