-
Notifications
You must be signed in to change notification settings - Fork 348
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix for #1750 - Hardcode tenant and authorize endpoints instead of OI… #1816
Conversation
/// <summary> | ||
/// Gets the authority endpoints based on the host and tenant id. Does not rely on OIDC discovery. | ||
/// </summary> | ||
internal abstract AuthorityEndpoints GetHardcodedEndpoints(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: just for discussion...these are actually the authorization server endpoints...Does it make sense to call them what they are, verse authority endpoints? just seems confusing. really just a discussion point here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to rename them, but maybe not Authorization endpoints because "authoirzation endpoint" is one of them. Myabe OAuth2Endpoints?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OAuth2Endpoints make sense.
{ | ||
AuthorizationEndpoint = authorizationEndpoint; | ||
TokenEndpoint = tokenEndpoint; | ||
SelfSignedJwtAudience = selfSignedJwtAudience; | ||
SelfSignedJwtAudience = tokenEndpoint; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the tokenEndpoint?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TokenEndpointTemplate, | ||
AuthorityInfo.CanonicalAuthority); | ||
|
||
string authEndpoint = string.Format(CultureInfo.InvariantCulture, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
authEndpoint [](start = 19, length = 12)
nit: call this authorizationEndpoint
…DC discovery