microsoftgraph / microsoft-graph-toolkit

Authentication Providers and UI components for Microsoft Graph 🦒
https://docs.microsoft.com/graph/toolkit/overview
Other
939 stars 298 forks source link

fix: handle popup login errors #3290

Closed Mnickii closed 2 weeks ago

Mnickii commented 2 weeks ago

Closes #3070

PR Type

Bugfix

Description of the changes

Handle errors when user cancels sing-in popup, or tries to login when there's an already existing login process.

PR checklist

Other information

How to test: Ensure that you initialize MSAL2 with loginType: LoginType.Popup and first try to login and close the popup, then second click the sign in button multiple times without closing the popup.

github-actions[bot] commented 2 weeks ago

📖 The updated storybook is available here

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud