Skip to content

Conversation

pejotes
Copy link

@pejotes pejotes commented Nov 4, 2020

Please note some providers like for example Okta allows to create custom authorisation servers like described here
https://developer.okta.com/docs/concepts/auth-servers/
This allows to create custom servers for apps with separate urls based on schema.
"
OpenID: https://${yourOktaDomain}/oauth2//.well-known/openid-configuration
OAuth: https://${yourOktaDomain}/oauth2//.well-known/oauth-authorization-server
"

The change adds path component to discovery url for endpoints. Tested with generic hostname base url and this custom based.

As some OAuth providers allows to create custom OAuth server instances on the same hostname with application id in url path we should allow to discover them and all required endpoints.
Add path element to authority base url request to enable custom servers
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.

1 participant