fetchEmailProviders()

Description

Get a list of authentication providers for the given email.

Request

Parameters

Field
Required
Data Type
Description

email

string

User email

Example

const fetchEmailProviders = await client.auth().fetchEmailProviders('example@example.com')

Response

Field
Data Type
Description

allProviders

Array of strings

List of all identity providers for a given user within your project

registered

boolean

Whether the person is registered

Example

{
    "data": {
        "allProviders": [
            "password"
        ],
        "registered": true,
    }
}

Last updated

Copyright © 2023 Deskree Technologies Inc.