Skip to content

Conversation

phil-hudson
Copy link

@phil-hudson phil-hudson commented Jan 23, 2023

What kind of change does this PR introduce?

  • fix marking verifyotp as post type request
  • add verify_otp_email method for allowing alternative types of email based verification
  • add verifyotp to task completion handler for signal dispatch

Bug fix, feature, docs update, ...

Bug fix

What is the current behavior?

Currently, verifyotp requests will fail as they are not specified to be handled as post requests, so they are called a GET and the API will return a response stating the payload is missing.

I have also added an additional utility function for email based verification, providing an api to specific the verification type

What is the new behavior?

Feel free to include screenshots if it includes visual changes.

Additional context

Add any other context or screenshots.

add verify_otp_email method for allowing alternative types of email based verification
@phil-hudson phil-hudson changed the base branch from main to 4.x January 23, 2023 10:38
@phil-hudson phil-hudson changed the title 4.x - fix marking verifyotp as post type request add verify_otp_email method for allowing alternative types of email based verification 4.x - fixes for verify OTP methods Jan 23, 2023
@phil-hudson
Copy link
Author

@fenix-hub not sure if you were notified, would appreciate review at some point if possible please :)

@fenix-hub
Copy link
Collaborator

@phil-hudson
Looks good to me, thanks!
Mind checking if 3.x is missing this feature too?

@fenix-hub fenix-hub merged commit 62c672a into supabase-community:4.x Jan 24, 2023
@phil-hudson
Copy link
Author

yep also missing on 3.x!

@phil-hudson phil-hudson deleted the 4.x branch January 24, 2023 12:01
@phil-hudson phil-hudson restored the 4.x branch January 24, 2023 12:05
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