Microsoft-authentication-library-for-js: Support multiple policies

Created on 19 Sep 2018  路  3Comments  路  Source: AzureAD/microsoft-authentication-library-for-js

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ ] Performance issue
[x ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Browser:

  • [ ] Chrome version XX
  • [ ] Firefox version XX
  • [ ] IE version XX
  • [ ] Edge version XX
  • [ ] Safari version XX

Library version


Library version: X.Y.Z



## Current behavior
Right now I use 3 different policies: auth, reset password and edit profile.
After reset password and edit profile actions I need to log out a user and then log in the user using auth policy


## Expected behavior
Support multiple policies 


## Minimal reproduction of the problem with instructions



Issue Triage b2c enhancement feature

Most helpful comment

This is now supported in version 1.4.0, you can switch your policy by providing the authority parameter on the request object.

All 3 comments

Has any progress been made on this front? Or does anyone know of a workaround that can be accomplished by modifying MSAL code? I've got an application that needs to support three policies, much like @yakimko

We are working on understanding how to support this in MSAL JS and if any background work is needed to enable this. Will update this ticket once we have more clarity on the dates.

This is now supported in version 1.4.0, you can switch your policy by providing the authority parameter on the request object.

Was this page helpful?
0 / 5 - 0 ratings