Skip to main content

completeOidcLogin

POST 

/api/v1/auth/oidc/callback

On the installation's host, with the code and state Zitadel returned to its callback page: finds the tenant by the state's slug and the login by the state, once and within 10 minutes, redeems the code, validates the ID token (docs/architecture.md §12), creates the person at their first login, syncs the memberships of the teams with an IdP group from the groups claim, makes an inactive person active again when they are then in a team or hold a tenant role (docs/on-call.md §1) and sets last_login_at; audited as a login. The answer is the URL of the tenant's host that takes the login over, with a code in its fragment, valid 60 s and once; only the host of an existing tenant, so no redirect elsewhere.

Request​

Responses​

The tenant's host takes the login over