SSO is set up by the Orenda team, not self-service. Your provider has to be registered
against your program before any of this works.
Contact the team to start.
Two ways to integrate
There are two ways to connect your identity provider: hosted sign-in and native token exchange. A program can enable one or both. Either way your app ends up with Orenda tokens and calls the API withAuthorization: Bearer.
Every value below is per program, and sandbox gets its own set. Read them from config per
environment; another program’s values will never work for yours.
Hosted sign-in
Works for any client that can open a browser and receive a redirect. Guide: Hosted sign-in.- Your app opens the authorization URL we give you, in a browser.
- We redirect to your identity provider. The user signs in there.
- The user lands back on your app’s redirect URI with a short-lived
code. - Your app posts the
codeto your program’s token URL. - You get Orenda tokens. Refresh at the same token URL.
What we give you.
Native token exchange
Built for mobile apps that already hold a provider session. Guide: Native token exchange.- Your app signs the user in to your identity provider with the provider’s SDK (PKCE). No Orenda screen.
- Your provider returns an
id_token. - Your app posts it to the exchange endpoint with your
x-program-id. - You get Orenda tokens. Refresh with Orenda’s refresh endpoint, not at your provider.
What we give you. Your
x-program-id, sent on every Orenda API call. The exchange
endpoint is the same for every program.
With either method you don’t use the registration, password sign-in, or security setup
endpoints. The first successful SSO sign-in creates the user. Everything after that is the
same API.
What your identity provider must send
When a user signs in, we read the claims from the ID token your provider issues and use them to create the Orenda user. This is the same for both methods; with native exchange the token is the one your app posts to us.
We read the ID token only. We don’t call your provider’s
userinfo endpoint, so a claim
that’s only available there won’t reach us. Request openid email at minimum, and check a
real decoded token rather than assuming.
Microsoft Entra ID doesn’t send
email by default. You have to add it as an optional
claim on the app registration (Token configuration → Add optional claim → ID →
email), and the user in your directory needs a mail address populated. This is the most
common cause of a failed first sign-in. Auth0, Okta, and Google send email with the
email scope and no extra setup.Sandbox
Ask for a sandbox program alongside your production one. It gets its own authorization and token URLs and its own client id, and it can point at a test tenant of your identity provider. On Orenda API calls, select sandbox the usual way:Next steps
1
Pick a method
Hosted sign-in: the browser redirect, the authorization code
exchange, and refreshing at your token URL.Native token exchange: sign in to your provider in
your app and post the ID token to Orenda.
2
Set up passkeys for sensitive operations
Passkey step-up: signing in with SSO isn’t enough on its own
for high-risk actions like adding a payee or viewing full card details. It applies to
both methods. Read this before you build those screens.