Skip to content

Can not sign-in with msaljs popup on Safari browser based on Samples/auth/Office-Add-in-Microsoft-Graph-React #629

Open
@mrphannguyen

Description

Samples/auth/Office-Add-in-Microsoft-Graph-React

Im trying to use that sample to implement our add-in but it's working on Chrome and Edge but not on Safari.

It shows the popup but automatically closed.
Debugging: The error code from msal is 12006,
image

That is also the main issue we are facing with our add-in on Safari, it worked before but now it's not working.
In our addin, we use msalClient.loginPopup(request), it shows the popup but throws the error: "null or undefined window object" in developer mode and can not close itself.

It's a little bit different from the sample but i think both are the same problem

Environment

  • Platform: Office Online
  • Host: Outlook Web
  • Operating System: Mac OS
  • Browser (if using Office Online): Safari
  • "@azure/msal-browser": "^2.34.0",
    "@azure/msal-react": "^1.5.4",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions