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 otpiq phone auth provider #1914

Closed
wants to merge 1 commit into from

Conversation

Omerrj
Copy link

@Omerrj Omerrj commented Jan 15, 2025

What kind of change does this PR introduce?

Introduce new SMS provider OTPIQ

What is the current behavior?

The available providers are Twilio, MessageBird, Vonage and TextLocal.
Not all of them have WhatsApp and they have regional issue.

What is the new behavior?

Update env variables and the new provider can send sms through Whatsapp and SMS
GOTRUE_SMS_PROVIDER=otpiq
GOTRUE_SMS_OTPIQ_API_KEY=<api_key>

Additional context

@Omerrj Omerrj requested a review from a team as a code owner January 15, 2025 18:02
@Omerrj Omerrj marked this pull request as draft January 18, 2025 15:00
@Omerrj Omerrj marked this pull request as ready for review January 18, 2025 15:01
@cstockton
Copy link
Contributor

I appreciate the pull request, however we are planning on using auth hooks for these types of integrations. We hope this give users the freedom to choose their provider while lowering the level of commitment required by the auth team.

My suggestion would be to take a look at the send SMS hook, if you run into any issues please create an issue:
https://supabase.com/docs/guides/auth/auth-hooks/send-sms-hook
https://supabase.com/dashboard/project/_/auth/hooks

@cstockton cstockton closed this Jan 23, 2025
@cstockton cstockton added the wontfix This will not be worked on label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants