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

zoom: allow overriding redirect_uri and passing code_verifier #459

Conversation

mxaly
Copy link
Contributor

@mxaly mxaly commented Jun 6, 2022

This PR extends zoom provider Session.Authorize by making it possible to pass redirect_uri (that will later on override redirect_uri from config) and code_verifier params.

verifier_code param is required in order to support PKCE in zoom
redirect_uri override is required as in some cases (for eg when using zoom in-app-auth) zoom is starting the authorization process and sets the redirect_uri dynamically.

@techknowlogick techknowlogick merged commit c7c7340 into markbates:master Jun 8, 2022
@techknowlogick
Copy link
Collaborator

thanks for PR :) I'll tag a new release shortly, just going through some other PRs first.

@mxaly
Copy link
Contributor Author

mxaly commented Jun 8, 2022

Thanks @techknowlogick :)

zeripath added a commit to zeripath/goth that referenced this pull request Oct 9, 2022
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>
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.

2 participants