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

Provide better support for v2.0 OpenID Config #79

Merged
merged 1 commit into from
Jun 10, 2019

Conversation

brianfreytag
Copy link
Contributor

The getTenantDetails method harded the url rather than allowing
customization. This update utilizes the urlLogin parameter (which can
either be the legacy login.windows.net or login.microsoftonline.com),
introduces constants (as defined in PR #76) and then utilizes those to
build the URI to receive the openid-configuration data.

This will resolve issues with invalid issuer errors while creating the
AccessToken when utilizing the openid auth/token endpoints.

Fixes #78

The `getTenantDetails` method harded the url rather than allowing
customization. This update utilizes the `urlLogin` parameter (which can
either be the legacy login.windows.net or login.microsoftonline.com),
introduces constants (as defined in PR TheNetworg#76) and then utilizes those to
build the URI to receive the openid-configuration data.

This will resolve issues with invalid issuer errors while creating the
`AccessToken` when utilizing the openid auth/token endpoints.

Fixes TheNetworg#78
@davidpede davidpede mentioned this pull request Jun 7, 2019
@hajekj hajekj merged commit 8b8a384 into TheNetworg:master Jun 10, 2019
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.

Hardcoded URL in Tenant Data
2 participants