Skip to content

sendOtp function in GoTrueAdmin.ts #1716

@jzambrano12

Description

@jzambrano12

Discussed in https://github.com/orgs/supabase/discussions/16724

Originally posted by jzambrano12 August 22, 2023
I think it would be very useful to have a function called sendOtp to send an OTP code to an email or phone number that is not registered in the project.

Particularly in my current development I need to be able to link an email or phone number to a user who has lost access to my platform. I cannot do this because the resend function only works if the email or phone number you are trying to send the code to is registered in the project.

It would help a lot of people, I'm sure I'm not the only one that this happens to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    auth-jsRelated to the auth-js library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions