Microsoft-authentication-library-for-js: Dynamic configuration of Authority (User Flows)

Created on 27 Nov 2019  路  2Comments  路  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
[ ] Feature request
[ ] Documentation issue or request
[X] Other... Please describe:

Question

Is it possible to have different user flows configured in one application?

Today we can configure the Authority property in app.module.

Imagine that different areas of my application have different login pages.

How can I change the last portion of the authority (which is the user flow at Azure AD B2C) dynamically?

b2c question

Most helpful comment

@cleberdantas Yes, you can. The request in msal js(code here accepts authority and the user can pass in a different authority from that of the configured one during the initialization.

All 2 comments

@cleberdantas Yes, you can. The request in msal js(code here accepts authority and the user can pass in a different authority from that of the configured one during the initialization.

@cleberdantas Closing this issue, Please raise a new one or comment here to have this re-opened if the above answer is not helping you.

Was this page helpful?
0 / 5 - 0 ratings