v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13204059.1 KB
relyingparty

Verifies the assertion returned by the IdP.

post/verifyAssertion

Request body

tenantProjectNumberstring uint64

Tenant project number to be used for idp discovery.

postBodystring

The post body if the request is a HTTP POST.

pendingIdTokenstring

The GITKit token for the non-trusted IDP pending to be confirmed by the user.

instanceIdstring

Instance id token of the app.

requestUristring

The URI to which the IDP redirects the user back. It may contain federated login result params added by the IDP.

delegatedProjectNumberstring int64

GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.

idTokenstring

The GITKit token of the authenticated user.

returnRefreshTokenboolean

Whether to return refresh tokens.

sessionIdstring

Session ID, which should match the one in previous createAuthUri request.

returnSecureTokenboolean

Whether return sts id token and refresh token instead of gitkit token.

returnIdpCredentialboolean

Whether return 200 and IDP credential rather than throw exception when federated id is already linked.

autoCreateboolean

When it's true, automatically creates a new account if the user doesn't exist. When it's false, allows existing user to sign in normally and throws exception if the user doesn't exist.

tenantIdstring

For multi-tenant use cases, in order to construct sign-in URL with the correct IDP parameters, Firebear needs to know which Tenant to retrieve IDP configs from.

Response

Successful response