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

B2C custom policies authority url #1101

Closed
foramkumar-parekh opened this issue Nov 7, 2019 · 4 comments
Closed

B2C custom policies authority url #1101

foramkumar-parekh opened this issue Nov 7, 2019 · 4 comments
Labels
b2c Related to Azure B2C library-specific issues msal-angular Related to @azure/msal-angular package question Customer is asking for a clarification, use case or information.

Comments

@foramkumar-parekh
Copy link

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:

Library version


Library version: @azure/msal-angular@0.1.2

I have B2C custom policies for authentication and I want to use them in my angular application. So with msal when I tried adding the authority it is saying that the authority is not valid. below are some of the combinations I tried.

Please share the correct authority format to use the B2C custom policies with MSAL

@jasonnutter jasonnutter added the b2c Related to Azure B2C library-specific issues label Nov 8, 2019
@jasonnutter
Copy link
Contributor

@foramkumar-parekh In your configuration, try setting validateAuthority to false. This should allow you to use b2clogin.com.

@jasonnutter jasonnutter added question Customer is asking for a clarification, use case or information. msal-angular Related to @azure/msal-angular package labels Nov 8, 2019
@foramkumar-parekh
Copy link
Author

And which Url format, from the question, will work?

@jasonnutter
Copy link
Contributor

I believe https://mytenant.b2clogin.com/mytenant.onmicrosoft.com/B2C_1A_signin/ is the correct format, @pkanher617 can you please confirm?

@jmckennon
Copy link
Contributor

Closing this issue, as it's been some time and I'm assuming the issue has been resolved. Feel free to open a new issue if you have further questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
b2c Related to Azure B2C library-specific issues msal-angular Related to @azure/msal-angular package question Customer is asking for a clarification, use case or information.
Projects
None yet
Development

No branches or pull requests

3 participants