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

Problems with Microsoft Account with B2C react #106

Closed
trbngr opened this issue Aug 5, 2017 · 6 comments
Closed

Problems with Microsoft Account with B2C react #106

trbngr opened this issue Aug 5, 2017 · 6 comments

Comments

@trbngr
Copy link

trbngr commented Aug 5, 2017

Repo here: https://github.com/trbngr/azure_b2c_react

Using a MS account, the initial login succeeds but, redirects continuously until acquireTokenSilent times out. The next time through everything works perfectly.

This only happens with MS accounts.

relavent code here: https://github.com/trbngr/azure_b2c_react/blob/master/src/redux/auth/actions.js#L32

logs here: https://pastebin.com/eMsBwwUd

@trbngr
Copy link
Author

trbngr commented Aug 5, 2017

Just added Google and it happens as well.

@jmprieur jmprieur changed the title Problems with Microsoft Account Problems with Microsoft Account with B2C react Sep 3, 2017
@jmprieur
Copy link
Collaborator

jmprieur commented Sep 3, 2017

@DibranMulder
Copy link

DibranMulder commented Sep 4, 2017

Is it related to this bug: #63 ?

@jmprieur
Copy link
Collaborator

jmprieur commented Sep 4, 2017

@trbngr : could you please try to see if this version of msal.js (in the dev branch) fixes your issue: https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/out/msal.js

@trbngr
Copy link
Author

trbngr commented Sep 4, 2017

That seems to have done it!

Thanks @jmprieur and @DibranMulder

@trbngr trbngr closed this as completed Sep 4, 2017
@jmprieur
Copy link
Collaborator

jmprieur commented Sep 4, 2017

Thanks for the update, @trbngr
BTW, we want to release a new version of msal.js soon (with this fix)
cc: @rohitnarula7176

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants