8000 🚀 Feature: Allow demo user functionality for phone auth without sending actual sms · Issue #7411 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
🚀 Feature: Allow demo user functionality for phone auth without sending actual sms #7411
Closed
@gaurav-chandra

Description

@gaurav-chandra

🔖 Feature description

When we are using phone auth, we have to mandatorily trigger an otp for logging in. Because of this demo accounts cannot be setup like 9999999999 or we cannot make any user as demo user so that the credentials can be shared with payment gateway providers or google play store testers or any other person who wants to have a look at the app without creating any profile or waiting for otp.

The hack outlined by @stnguyen90 on discord _APP_SMS_PROVIDER=user:password@mock does not work

🎤 Pitch

allow any user in auth to be set as demo user in console and add a defailt otp like 123456. triggering phone auth will check if the user is a demo user or not and will return true instead of triggering an otp.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

product / authFixes and upgrades for the Appwrite Auth / Users / Teams services.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0