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

add b2c authority host to list #1017

Merged
merged 5 commits into from
Mar 28, 2019
Merged

add b2c authority host to list #1017

merged 5 commits into from
Mar 28, 2019

Conversation

jennyf19
Copy link
Collaborator

@henrik-me have a few questions for you.

@jennyf19 jennyf19 requested a review from henrik-me March 26, 2019 23:42
@jennyf19 jennyf19 force-pushed the jennyf/withB2CAuthority branch from 7771727 to 8dbd0c9 Compare March 28, 2019 15:40
@jennyf19 jennyf19 force-pushed the jennyf/withB2CAuthority branch from 8dbd0c9 to 0b74398 Compare March 28, 2019 20:15
/// <summary>
/// No Redirect URI.
/// </summary>
public const string B2CHostNotTrusted = "B2C_host_not_trusted";
Copy link
Contributor

@henrik-me henrik-me Mar 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

B2CHostNotTrusted [](start = 28, length = 17)

Probably a different PR... but I believe JM wanted these to be on the exceptions (in this case that would be on the clientexception), #Resolved

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this definitely separate PR, as i want to get this out to customer, but i'll sync w/JM on this.


In reply to: 270208745 [](ancestors = 270208745)

@@ -66,7 +66,7 @@ internal static class MsalTestConstants
public const string AuthorityWindowsNet = "https://" + ProductionPrefCacheEnvironment + "/" + Utid + "/";
public const string B2CAuthority = "https://login.microsoftonline.in/tfp/tenant/policy/";
public const string B2CLoginAuthority = "https://sometenantid.b2clogin.com/tfp/sometenantid/policy/";
public const string B2CRandomHost = "https://sometenantid.randomhost.com/tfp/sometenantid/policy/";
public const string B2CCustomDomain = "https://catsareamazing.com/tfp/catsareamazing/policy/";
Copy link
Contributor

@henrik-me henrik-me Mar 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

catsareamazing [](start = 55, length = 14)

:) #ByDesign

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😎


In reply to: 270209120 [](ancestors = 270209120)

Copy link
Contributor

@henrik-me henrik-me left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jennyf19
Copy link
Collaborator Author

@henrik-me build passed here

@jennyf19 jennyf19 merged commit 2cabd97 into dev3x Mar 28, 2019
@jennyf19 jennyf19 deleted the jennyf/withB2CAuthority branch March 28, 2019 23:10
return Task.FromResult(defaultEndpoint);
}

throw MsalExceptionFactory.GetClientException(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a test called B2CMicrosoftOnlineCreateAuthority that now consistently fails because of this. What suprises me is that it passed on the PR build or it was not run. Investigating...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants