Introduction
Sentra SSO gives people one account for all your apps. Your app doesn’t store passwords; Sentra checks who the user is.
How it works
- The user clicks Sign in with Sentra in your app.
- Your app sends the user to Sentra’s sign-in page, shown with your app’s name, logo and colour.
- The user signs in (or picks an account that’s already signed in) and, on the first visit, approves the data being shared.
- Sentra returns a one-time code to your Redirect URI.
- Your server exchanges the code for the user’s data, then starts its own session.
Tokens never travel in URLs. Only a 60-second code passes through the browser, and only the server holding the Client secret can exchange it.
The data your app receives
| Field | Content |
|---|---|
sentra_id | The user’s permanent ID. Use it as the user key in your app. |
name | Full name. |
picture | Profile photo URL, or null. |
credential | The account’s email, or its username when it has no email. |
roles | The user’s roles in your app, managed in Sentra. |
user_types | User types. |
What your app keeps
Sentra only answers "who is this user". Sessions, permissions inside your app and session length stay with your app. An account deactivated in Sentra can’t sign in to any app again.
Get started
Follow the Quickstart to connect an app in five steps. You need a developer account to open the console.