<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [UserCredential](./auth.usercredential.md) &gt; [providerId](./auth.usercredential.providerid.md)

## UserCredential.providerId property

The provider which was used to authenticate the user.

<b>Signature:</b>

```typescript
providerId: string | null;
```
