verifyInvite()

Description

Endpoint to verify invitation based on oobCode and uid provided in the email sent to the user. The oobCode and uid are found in the password reset URL. Password reset URL has the following structure: {email_conf_url}?oobCode={oobCode}&uid={uid}.

Request

Parameters

FieldRequiredData TypeDescription

oobCode

string

Can be found in the URL sent to the user by the inviteUser() method.

uid

string

User UID

newPassword

string

Password set by the invited user

Example

await client.auth().verifyInvite('na9uubnkloaf9n18n9u112u41', '0193j401nd18en18dj1nm29dn8nuk', 'qwerty12345')

Response

No content

Example

{}

Last updated