Microsoft-authentication-library-for-js: Problems with Microsoft Account with B2C react

Created on 5 Aug 2017  路  6Comments  路  Source: AzureAD/microsoft-authentication-library-for-js

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

Most helpful comment

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

All 6 comments

Just added Google and it happens as well.

  • @parakhj

@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

That seems to have done it!

Thanks @jmprieur and @DibranMulder

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

Was this page helpful?
0 / 5 - 0 ratings