Skip to main content

brandForProvider

Admin Docs


Function: brandForProvider()

brandForProvider(provider): InterfaceProviderBrand

Defined in: src/components/Auth/theme/oauthBrand.tsx:49

Retrieves the branding configuration for a specific OAuth provider.

Parameters

provider

OAuthProviderKey

The provider key (e.g., 'GOOGLE', 'GITHUB')

Returns

InterfaceProviderBrand

The branding configuration for the provider, or Google branding as fallback

Example

const googleBrand = brandForProvider('GOOGLE');
console.log(googleBrand.displayName); // 'Google'