-
Notifications
You must be signed in to change notification settings - Fork 16
Make token endpoint configurable and align with OIDC #292
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
base: develop
Are you sure you want to change the base?
Conversation
This patch makes the token endpoint configurable and anligns the request with the requirements with OIDC/OAUTH * https://www.rfc-editor.org/rfc/rfc6749.html#section-4.1 * https://openid.net/specs/openid-connect-core-1_0.html#TokenEndpoint Signed-off-by: Micke Nordin <[email protected]>
|
I think the schema of the token response is missing? |
Should be here, right: Line 869 in 24b3858
|
|
This looks good, don't we also want to explicitly say that the token endpoint is expected to be "just OIDC"? Or what would make it different from a vanilla OIDC token endpoint? |
|
I think the difference is that there is supposed to be an authorize step before, that we skip, that is what will get you the refresh token. |
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.
OK, I've added a sentence and another question. I guess some details will be cleared once we have a first implementation.
| redirect_uri: | ||
| type: string | ||
| description: URI to redirect to after the token is issued | ||
| example: https://receiver.org/ocm/callback |
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.
I guess the callback is not required to be served from the /ocm "namespace", as it's a regular OIDC callback?
|
I think I/we need to look in to https://datatracker.ietf.org/doc/html/rfc6749 more, it feels unclear to me at this point, exactly which flow we should use. |
Co-authored-by: Giuseppe Lo Presti <[email protected]>
Co-authored-by: Giuseppe Lo Presti <[email protected]>
This patch makes the token endpoint configurable and anligns the request with the requirements with OIDC/OAUTH