Skip to content
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

Update auth.ts to support "@azure/msal-browser": "^3.1.0" #2

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

iamexe
Copy link

@iamexe iamexe commented Sep 25, 2023

Fixes #1

See here for more info:
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/errors.md#native_broker_called_before_initialize

I tried to add the line after
// start msal
and before
await msal.andleRedirectPromise()
but that didn't work with me, so I added it after
export const msal = new ...
and that did work fine.

Please review as I am not 100% sure if this is correct.
I'm also not using TS.

iamexe and others added 3 commits September 26, 2023 00:33
See here for more info:

https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/errors.md#native_broker_called_before_initialize

I tried to add the line after
// start msal
and before
await msal.andleRedirectPromise()
but that didn't work with me, so I added it after 
export const msal = new ...
and that did work fine.

Please review as I am not 100% sure if this is correct.
I'm also not using TS.
Update auth.ts to support "@azure/msal-browser": "^3.1.0"
A folder containing a No TypeScript Version with a Dashboard instead of User view. Intended for a missing Express.js backend but it has local sample data.

Co-Authored-By: Dave Stewart <[email protected]>
@davestewart
Copy link
Owner

Hey! Thanks for the PR, will find time to review this week 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updated demo to use MSAL 3.1.0
2 participants