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

feat: add pkce to email_change routes #1082

Merged
merged 6 commits into from
Apr 25, 2023
Merged

feat: add pkce to email_change routes #1082

merged 6 commits into from
Apr 25, 2023

Conversation

J0
Copy link
Contributor

@J0 J0 commented Apr 14, 2023

What kind of change does this PR introduce?

Add PKCE to email Change routes

What is the current behavior?

No PKCE on email change routes

What is the new behavior?

PKCE on email change routes

Additional context

There's an additional AMR claim known as email_change I'm not sure whether we want to have a special claim for this given that email_change is not typically classed as a login method. The other option would be to use the Magic Link AMR claim instead. Let me know if anyone has a preference here.

Should be tested with: https://github.com/supabase/gotrue-js/pull/661/files

TODOs:

  • Tests need to be written for the PKCE path

@J0 J0 marked this pull request as ready for review April 18, 2023 06:33
@J0 J0 requested a review from a team as a code owner April 18, 2023 06:33
Copy link
Member

@kangmingtay kangmingtay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

internal/api/resend.go Show resolved Hide resolved
@J0
Copy link
Contributor Author

J0 commented Apr 19, 2023

Leaving this as draft, will merge after deploy

@J0 J0 marked this pull request as draft April 19, 2023 03:57
@J0 J0 marked this pull request as ready for review April 25, 2023 07:48
@J0 J0 merged commit 0f8548f into master Apr 25, 2023
@J0 J0 deleted the j0/add_pkce_email_change branch April 25, 2023 07:48
@github-actions
Copy link
Contributor

🎉 This PR is included in version 2.61.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

J0 added a commit to supabase/auth-js that referenced this pull request Sep 4, 2023
## What kind of change does this PR introduce?

To be merged only when the corresponding server side PR has landed:
supabase/auth#1082

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
uxodb pushed a commit to uxodb/auth that referenced this pull request Nov 13, 2024
## What kind of change does this PR introduce?

Add PKCE to email Change routes

## What is the current behavior?

No PKCE on email change routes

## What is the new behavior?

PKCE on email change routes 


## Additional context

There's an additional AMR claim known as `email_change` I'm not sure
whether we want to have a special claim for this given that
`email_change` is not typically classed as a login method. The other
option would be to use the Magic Link AMR claim instead. Let me know if
anyone has a preference here.

Should be tested with:
https://github.com/supabase/gotrue-js/pull/661/files


TODOs:
- [x] Tests need to be written for the PKCE path

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 13, 2024
## What kind of change does this PR introduce?

Add PKCE to email Change routes

## What is the current behavior?

No PKCE on email change routes

## What is the new behavior?

PKCE on email change routes 


## Additional context

There's an additional AMR claim known as `email_change` I'm not sure
whether we want to have a special claim for this given that
`email_change` is not typically classed as a login method. The other
option would be to use the Magic Link AMR claim instead. Let me know if
anyone has a preference here.

Should be tested with:
https://github.com/supabase/gotrue-js/pull/661/files


TODOs:
- [x] Tests need to be written for the PKCE path

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
LashaJini pushed a commit to LashaJini/auth that referenced this pull request Nov 15, 2024
## What kind of change does this PR introduce?

Add PKCE to email Change routes

## What is the current behavior?

No PKCE on email change routes

## What is the new behavior?

PKCE on email change routes 


## Additional context

There's an additional AMR claim known as `email_change` I'm not sure
whether we want to have a special claim for this given that
`email_change` is not typically classed as a login method. The other
option would be to use the Magic Link AMR claim instead. Let me know if
anyone has a preference here.

Should be tested with:
https://github.com/supabase/gotrue-js/pull/661/files


TODOs:
- [x] Tests need to be written for the PKCE path

---------

Co-authored-by: joel@joellee.org <joel@joellee.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants