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

Phone never set to verified when using Twilio Verify #1906

Open
2 tasks done
NicolasAlmerge opened this issue Jan 8, 2025 · 1 comment
Open
2 tasks done

Phone never set to verified when using Twilio Verify #1906

NicolasAlmerge opened this issue Jan 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@NicolasAlmerge
Copy link

NicolasAlmerge commented Jan 8, 2025

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

When the user signs in with their phone with Twilio Verify and confirms their phone number, the phone_verified attribute inside raw_user_meta_data is set to false.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Enable phone authentication with Twilio Verify, enable phone confirmations.
  2. Sign in with Twilio Verify and an OTP code.
  3. In the auth.users table (and the Supabase dashboard), in the raw_user_meta_data field for that user, we see:
"raw_user_meta_data": {
  "sub": "...",
  "email_verified": false,
  "phone_verified": false
}

Even though we have verified the phone, it sets phone_verified to false.

Expected behavior

We expect phone_verified inside raw_user_meta_data to be true when phone verification was made.

System information

  • Version of supabase-swift: 2.24.1
@NicolasAlmerge NicolasAlmerge added the bug Something isn't working label Jan 8, 2025
@v-homsi
Copy link

v-homsi commented Jan 9, 2025

Also seeing this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants