<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/auth](./auth.md) &gt; [AuthError](./auth.autherror.md) &gt; [tenantid](./auth.autherror.tenantid.md)

## AuthError.tenantid property

The tenant ID being used for sign-in/linking.

<b>Signature:</b>

```typescript
readonly tenantid?: string;
```

## Remarks

If you use [signInWithRedirect()](./auth.signinwithredirect.md) to sign in, you have to set the tenant ID on [Auth](./auth.auth.md) instance again as the tenant ID is not persisted after redirection.

