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

Replace deprecated phone verification endpoint #1273

Closed
moritzschuh opened this issue Jun 19, 2023 · 0 comments
Closed

Replace deprecated phone verification endpoint #1273

moritzschuh opened this issue Jun 19, 2023 · 0 comments

Comments

@moritzschuh
Copy link

The /me/phone endpoint has been replaced with /me/verification, introducing the new verification method "ticket".
Existing requests to /me/phone need to be updated to make use of the new endpoint.
In case of "ticket" is specified as required verification method, a message needs to be shown to the user, asking them to reach out to support.

The return of the deprecated endpoint had the following format:
{"verify_phone":false}, requiring phone verification prior to project creation in case verify_phone was true.

The new endpoint return has the following format:
{"state":true,"type":"ticket"} User needs to reach out to a member of staff in order to create a project
{"state":true,"type":"phone"} User needs to verify their phone number in order to create a project (same as /me/phone: verify_phone:true)
{"state":false,"type":null} User is allowed to create projects without the need for verification (same as /me/phone: verify_phone:false)

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

No branches or pull requests

2 participants