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

Configure OAuthClient with OpenID Discovery configuration #51

Closed
lepture opened this issue Apr 26, 2018 · 6 comments
Closed

Configure OAuthClient with OpenID Discovery configuration #51

lepture opened this issue Apr 26, 2018 · 6 comments
Milestone

Comments

@lepture
Copy link
Owner

lepture commented Apr 26, 2018

https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata

@lepture lepture added this to the Version 0.8 milestone Apr 26, 2018
@lepture lepture removed this from the Version 0.8 milestone Jun 13, 2018
venthur added a commit to venthur/authlib that referenced this issue Aug 2, 2018
Closes: lepture#51

The patch allows OAuthClient to gather configuration from
`oid_discovery_url` if provided. You can still overwrite all values from
there by providing them directly in the `__init__`.
@lepture lepture added this to the Version 0.10 milestone Aug 16, 2018
@lepture
Copy link
Owner Author

lepture commented Oct 11, 2018

done by RFC8414

@lepture lepture closed this as completed Oct 11, 2018
@ThiefMaster
Copy link
Contributor

ThiefMaster commented Jun 11, 2019

The RFC mentions /.well-known/openid-configuration, but authlib uses /.well-known/oauth-authorization-server - is this an older version of the RFC or a mistake?

@lepture
Copy link
Owner Author

lepture commented Jun 12, 2019

There are two RFCs.

  1. /.well-known/openid-configuration is defined by OpenID Connect
  2. /.well-known/oauth-authorization-server is defined by RFC8414

@leonidguadalupe
Copy link

Hi @lepture, I need to expose this url btw for a 3rd party to get our urls.. but I'm not sure what to do.. Do I manually expose it? or is there a way in authlib to expose /.well-known/openid-configuration

@lepture
Copy link
Owner Author

lepture commented Aug 11, 2020

@leonidguadalupe you can manually expose it.

@leonidguadalupe
Copy link

Thank you very much :)

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

No branches or pull requests

3 participants