Documentation · Administration · Set up
Sign-in and provisioning
People sign in through your OpenID Connect provider. Add SCIM so joiners are provisioned and leavers are offboarded automatically.
Register Credvane with your identity provider
- Create a confidential OpenID Connect client (authorization code flow) named, for example,
credvane. - Allow the redirect URI
https://credvane.example.com/oauth/callback/keycloakand the post-logout URIhttps://credvane.example.com/logout, using yourCREDVANE_PUBLIC_URL. The path sayskeycloakwhatever your provider is. - Make sure tokens carry a verified
email, and the person's groups or roles if admins come from a group. - Set the issuer, client id and client secret on Credvane (see install) and restart it.
Who is an admin
- Members of the groups in
CREDVANE_ADMIN_GROUPS(read from the token's groups or roles), checked on every request. - People made admin in the web app, on Settings → Admins or Users.
- The emails in
CREDVANE_ADMINS, which always keep access. Use it for the first sign-in, then rely on groups.
Everyone else who signs in is a member: they add and manage their own credentials and exchange tokens.
Provisioning with SCIM
With SCIM, your identity provider adds people to Credvane, and deactivating someone there starts their offboarding.
- In Credvane, open Settings → Provisioning and generate a token. It is shown once.
- In your identity provider, set the SCIM base URL to
https://credvane.example.com/scim/v2and the token as a bearer token. - Turn on creating, updating and deactivating users.
| Provider | Notes |
|---|---|
| Microsoft Entra ID | An enterprise application with automatic provisioning. Deactivation sets active to false. |
| Okta | Enable SCIM provisioning with userName as the identifier, and turn on Deactivate users. |
| Keycloak | Needs a community SCIM extension. |
Generating a new token replaces the old one at once; revoking it stops provisioning.