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

openidconnect: allow overriding redirect_uri and passing code_verifier #474

Merged

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented Oct 9, 2022

Similar to #459 this PR extends openidconnect provider's Session.Authorize to allow passage of redirect_uri and code_verifier params.

Gitea will need these in order to enable support for PKCE in openidconnect. (See go-gitea/gitea#21376)

It is likely that other providers will also need the addition of PKCE support however, the design of this may need some more thought.

Fix #473

Signed-off-by: Andrew Thornton art27@cantab.net

Similar to markbates#459 this PR extends openidconnect provider's
`Session.Authorize` to allow passage of `redirect_uri` and
`code_verifier` params.

Gitea will need these in order to enable support for PKCE in
openidconnect.

It is likely that other providers will also need the addition of PKCE
support however, the design of this may need some more thought.

Signed-off-by: Andrew Thornton <art27@cantab.net>
@mhkarimi1383
Copy link

Any updates on this one?
I need that to get my gitea instance work

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.

Implement PKCE for OpenID Connect
3 participants