For developers
Add sign-in with Sovrain to an application and automate Sovrain with its API.
Start with
Sign-in in your app
- Add sign-in with OpenID Connect to your app Send people to Sovrain with an authorization code request and PKCE, exchange the code and check the ID token.
- Add sign-in with SAML to your app Connect your service provider to Sovrain, send signed AuthnRequests and validate the assertions that come back.
- Keep users signed in with refresh tokens Renew access tokens without sending the person back to Sovrain, and handle rotation and the end of the session.
- Require two-step sign-in from your app Ask Sovrain for a second step in the sign-in request, and check in the token or assertion that it happened.
- Read groups and roles in your app Get the person's access groups and roles from the ID token or the SAML assertion and use them for permissions.
- Sign people out from your app Send people from your app's sign-out to Sovrain, so that they leave the Sovrain session and every app in it, and bring them back to your app.
- End your app's session when people sign out elsewhere Receive Sovrain's back-channel or front-channel logout, or a SAML LogoutRequest, and end the matching session in your app.
Provisioning
Admin API
- Get an Admin API token Get an access token for the Admin API through the device flow, keep it fresh and revoke it when you are done.
- Automate onboarding with the Admin API Invite new people, put them in a group, fill in their details and give the group access to an app, from a script.
- Offboard people with the Admin API Suspend people who leave, remove their accounts later and take away part of someone's access, from a script.
- Configure apps with the Admin API Create an OpenID Connect or SAML app, set it up and give groups access to it, from a script.