What you need
| Setting | Where it comes from |
|---|---|
| Issuer | https://auth.nubisco.io/e/<environment id>, shown beside each environment in the console |
| Client ID | shown when you register the app |
| Client secret | shown once when you register the app, rotated from the app's settings |
Register the app once per environment. A staging app has its own client id and secret, and its tokens come from the staging issuer.
The endpoints
Everything lives under your issuer, and the discovery document lists it.
| Endpoint | What |
|---|---|
GET /.well-known/openid-configuration | The discovery document |
GET /.well-known/jwks.json | The public keys that sign your environment's tokens |
GET /authorize | Starts a sign-in: authorization code, PKCE |
POST /token | Authorization code, and client credentials |
GET /userinfo | The signed-in person, with an access token |
GET /end-session | Signs the browser out of your environment |
The machine API, for your app acting as itself, is at https://auth.nubisco.io/api/m2m/. See Machine API and roles.
The sign-in, end to end
Where to go next
- OpenID Connect: every parameter and error.
- Tokens and claims: what is in each token and how to check it.
- Machine API and roles: client credentials and the roles manifest.
- Webhooks: the signed payload format.
- For your team: What Accord is.