<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [fetchSignInMethodsForEmail](./auth.fetchsigninmethodsforemail.md)

## fetchSignInMethodsForEmail() function

Gets the list of possible sign in methods for the given email address.

<b>Signature:</b>

```typescript
export declare function fetchSignInMethodsForEmail(auth: Auth, email: string): Promise<string[]>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  auth | [Auth](./auth.auth.md) | The Auth instance. |
|  email | string | The user's email address. |

<b>Returns:</b>

Promise&lt;string\[\]&gt;

## Remarks

This is useful to differentiate methods of sign-in for the same provider, eg. [EmailAuthProvider](./auth.emailauthprovider.md) which has 2 methods of sign-in, [SignInMethod.EMAIL\_PASSWORD](./auth.signinmethod.email_password.md) and [SignInMethod.EMAIL\_LINK](./auth.signinmethod.email_link.md) .

