Skip to content

getProviderConfig()

getProviderConfig(providerId): Promise<AuthProviderConfig>

Defined in: CloudFireAuth.ts:707

Looks up an Auth provider configuration by the provided ID. Returns a promise that resolves with the provider configuration corresponding to the provider ID specified. If the specified ID does not exist, an auth/configuration-not-found error is thrown.

SAML and OIDC provider support requires Google Cloud's Identity Platform (GCIP). To learn more about GCIP, including pricing and features, see the GCIP documentation.

Parameters

providerId

string

The provider ID corresponding to the provider config to return.

Returns

Promise<AuthProviderConfig>

A promise that resolves with the configuration corresponding to the provided ID.