People
How humans access gittan.eu. Email OTP login, identity verification through your IdP. No passwords, no enterprise add-on.
How it works
gittan.eu has no password database. Everyone signs in with Email OTP — a 6-digit code sent to your email on every login. No passwords, no setup needed.
When your org connects an identity provider, members additionally verify their identity through it (Entra, Google, Okta, etc.). This is not a different login method — it is a verification step that links the gittan.eu account to a corporate identity. Your IdP becomes the trust anchor for offboarding: when someone is removed from the IdP, their gittan.eu session ends within one hour.
Email OTP
No configuration required. Users enter their email and receive a 6-digit code. Codes are single-use and expire after 10 minutes.
Email OTP works for any org size but does not give you centralized user lifecycle management — removing someone from your IdP has no effect because there is no IdP.
Identity verification (OIDC)
Identity verification is included on every plan. It is not an enterprise add-on. Gating this behind a pricing tier strips small teams of the offboarding safety net, and we think that is wrong. Any OIDC-compliant provider works — Entra, Google, Okta, Keycloak, etc.
CLI authentication
The CLI uses device-flow authentication:
gittan auth login This opens your browser for approval. Tokens are stored locally and refreshed automatically. No passwords are ever stored on disk.
Offboarding
When someone leaves, an org owner must remove them from the org in gittan.eu. This is a manual step — there is no spec-supported way to receive real-time removal events from an external IdP for third-party applications.
Remove a member via Admin > Members or the API
(DELETE /orgs/:orgId/members/:userId).
This revokes org access instantly — the user’s next API call returns 403.
Team memberships and linked identities are cleaned up in the same operation.
Access safety net (OIDC only)
If you use OIDC and forget to remove someone from gittan.eu, there is a safety net: on every token refresh, gittan.eu validates the user’s session against your IdP. If the IdP rejects the token (user disabled, account deleted, token revoked), the session ends within one hour — the maximum lifetime of an access token.
This prevents lingering access but is not a substitute for proper offboarding. The user’s identity, team memberships, and audit trail remain in gittan.eu until an org owner removes them. Treat IdP removal as the trigger to also remove them from gittan.eu.
Transient IdP failures (5xx, timeouts) do not lock users out. Only a definitive rejection ends the session.
Email OTP users have no IdP to validate against — their sessions continue until an org owner removes them or their refresh token expires.
Setting it up
Email OTP works out of the box. The rest of this section covers OIDC setup.
Register gittan.eu in your IdP
Register gittan.eu as an application in your identity provider. gittan.eu needs three things from the registration:
| Field | Description |
|---|---|
| Issuer URL | Your IdP’s OIDC discovery endpoint (the URL that serves /.well-known/openid-configuration). |
| Client ID | The application/client ID from your IdP. |
| Client secret | The client secret from your IdP. |
Set the redirect URI to:
https://auth.gittan.eu/identity/callback Required scopes
gittan.eu requests these scopes during identity verification:
| Scope | Required | Purpose |
|---|---|---|
| openid | Yes | Identifies this as an OIDC request. Returns an ID token with the sub claim — the only claim gittan.eu uses to identify the user. |
| Recommended | Used during account linking to match the external identity to a gittan.eu account. Not used after linking — identity is tracked by sub only. | |
| profile | Optional | Provides display name. gittan.eu stores this from the user’s own profile, so this is only used as a fallback during initial setup. |
| offline_access | Yes | Requests a refresh token from your IdP. Required for the access safety net — gittan.eu validates this token on every session refresh to confirm the user still exists in your IdP. |
Required ID token claims
gittan.eu only requires the standard OIDC claims from the ID token:
| Claim | Required | Notes |
|---|---|---|
| sub | Yes | Stable, unique identifier for the user at the IdP. This is the only claim used for identity lookup after initial linking. |
| iss | Yes | Must match the configured issuer URL exactly. |
| aud | Yes | Must contain the configured client ID. |
| exp | Yes | Standard OIDC. Token must not be expired. |
| nonce | Yes | Must match the nonce sent in the authorization request. Replay protection per OIDC Core §3.1.3.7. |
gittan.eu does not require or use custom claims. User profiles (name, email, avatar) are managed within gittan.eu — your IdP only needs to confirm identity.
Provider-specific instructions
Microsoft Entra ID
- Register a new app in App registrations.
- Set Redirect URI to
https://auth.gittan.eu/identity/callback(type: Web). - Under API permissions, add:
openid,email,profile,offline_access(all delegated, Microsoft Graph). - Create a client secret under Certificates & secrets.
- Issuer URL:
https://login.microsoftonline.com/{tenant-id}/v2.0
Entra returns offline_access as a refresh token only when explicitly
requested as a scope and added as an API permission. Both are required.
Google Workspace
- Create an OAuth 2.0 client in Google Cloud Console > APIs & Services > Credentials.
- Set Authorized redirect URI to
https://auth.gittan.eu/identity/callback. - Issuer URL:
https://accounts.google.com
Google does not use the offline_access scope. Instead, it returns a
refresh token when access_type=offline is set and the user
consents. gittan.eu handles this automatically — no extra configuration needed on
the Google side.
Okta
- Create a new Web application in Applications.
- Set Sign-in redirect URI to
https://auth.gittan.eu/identity/callback. - Under General > Allowed grant types, enable Authorization Code and Refresh Token.
- Issuer URL:
https://{your-domain}.okta.com(or custom authorization server URL).
Okta requires offline_access as a scope and the Refresh Token
grant type enabled on the app. Without both, no refresh token is issued.
Configure in gittan.eu
Once your IdP app is registered, configure it in gittan.eu:
- Go to your org’s Admin > Authentication.
- Enter the Issuer URL, Client ID, and Client secret.
- Save. gittan.eu verifies the issuer by fetching its OIDC discovery document before saving.
The default scopes (openid email profile offline_access) are set
automatically. Override them only if your IdP handles refresh tokens differently
(e.g., Google — see above).