Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocumentation for OIDC provider unclear #715
Comments
Hi @voegtlel, sorry for the delay. It seems this part of the documentation was not updated. One of the main difficulty by implementing a provider is to know what are the hooks required to be implemented. I had created this graph: https://oauthlib.readthedocs.io/en/latest/oauth2/server.html#oauth2-0-provider-flows to help for OAuth2.0 flows, unfortunately I didn't had the time to do the same for OpenID Connect flows. Also, having a separated documentations for different OAuth2.0 actors will help understanding what to do (i.e. |
Describe the bug
Hi there, I'm trying to implement the oidc provider in my framework, but I'm not really clear about the implementation:
The docs state:
Although, further down it says:
But if it's not implemented or I don't want to customize it, how SHOULD I call it?
Even if I'd implement it the very same way as
grant_types.py:GrantTypeBase.add_id_token
, thenonce
parameter is not passed through toget_id_token
so it cannot easily be implemented the same way.In general, I find it hard to follow the docs to implement this provider, and would really like to see an example implementation in any framework, which I couldn't find searching everywhere.
Thanks!