Skip to content
IC Reactor

IdentityAttributeOpenIdProvider

IdentityAttributeOpenIdProvider = IdentityAttributeOpenIdProviderAlias | string & object

Defined in: react/src/auth/types.ts:62

An OpenID provider, either as a well-known alias or as a raw issuer URL.

The two forms are not interchangeable, and what each one does depends on where it is passed:

  • An alias ("google" | "apple" | "microsoft") is forwarded to the auth client, which adds an openid search param to the identity provider URL so the user signs in through that provider directly.
  • Any other string is treated as a raw issuer URL and is never forwarded to the auth client, so it never affects how the user signs in. It is only meaningful when passed to IdentityAttributesManager.requestOpenId (or identityAttributeKeys), which scopes the requested keys to openid:<issuer>:<key>. Passed anywhere else it has no effect at all.