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

  1. Create a confidential OpenID Connect client (authorization code flow) named, for example, credvane.
  2. Allow the redirect URI https://credvane.example.com/oauth/callback/keycloak and the post-logout URI https://credvane.example.com/logout, using your CREDVANE_PUBLIC_URL. The path says keycloak whatever your provider is.
  3. Make sure tokens carry a verified email, and the person's groups or roles if admins come from a group.
  4. 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.

  1. In Credvane, open Settings → Provisioning and generate a token. It is shown once.
  2. In your identity provider, set the SCIM base URL to https://credvane.example.com/scim/v2 and the token as a bearer token.
  3. Turn on creating, updating and deactivating users.
ProviderNotes
Microsoft Entra IDAn enterprise application with automatic provisioning. Deactivation sets active to false.
OktaEnable SCIM provisioning with userName as the identifier, and turn on Deactivate users.
KeycloakNeeds a community SCIM extension.

Generating a new token replaces the old one at once; revoking it stops provisioning.