fetchEmailProviders()

Description

Get a list of authentication providers for the given email.

Request

Parameters

FieldRequiredData TypeDescription

email

string

User email

Example

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

Response

FieldData TypeDescription

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.