ory / kratos

The most scalable and customizable identity server on the market. Replace your Homegrown, Auth0, Okta, Firebase with better UX and DX. Has all the tablestakes: Passkeys, Social Sign In, Multi-Factor Auth, SMS, SAML, TOTP, and more. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=kratos
Apache License 2.0
11.32k stars 963 forks source link

Phone number verification with SMS code #4197

Open renom opened 2 weeks ago

renom commented 2 weeks ago

Preflight checklist

Ory Network Project

No response

Describe your problem

It's impossible to start a code verification flow for a phone. There's only an email field in the form. I've tried to input a phone into the email field, but it didn't work. If I register a new account with an email over the schema with email and phone, the verification code is sent automatically with body sms.body.gotmpl, so it's a little bit confusing that there's no other way to start a code verification flow.

Describe your ideal solution

Using field identifier instead of email in the verification.

Workarounds or alternatives

-

Version

1.3.0

Additional Context

No response