OneLogin single sign-on setup for DueReason
Connect OneLogin to DueReason over OIDC or SAML 2.0: which app type to add, the redirect URI or ACS URL to paste, and domain verification by DNS.
Updated · 6 min read
In short
- OneLogin is one of DueReason's five SSO presets, supporting both OIDC and SAML 2.0 - which one to pick depends on which app type your OneLogin admin is already comfortable adding.
- Settings > Single sign-on shows the exact redirect URI or ACS URL to paste into OneLogin's app, and only lets members sign in once the organization's email domain is verified by a DNS TXT record.
- The first person who signs in through a verified OneLogin domain is created as a reviewer - DueReason's lowest-privilege role - never admin; an owner still has to promote anyone further.
- SSO needs a plan that includes it: a trial organization, or a self-host without a license key carrying the feature, sees the same Settings tab with an upgrade prompt instead of the setup form.
OneLogin registers an identity provider per organization in DueReason, the same as every other preset: each organization configures and verifies its own domain, independently of any other customer. DueReason supports both of OneLogin's common protocols - OIDC and SAML 2.0 - and either is a reasonable choice.
Before you start
Only organization owners and admins can open Settings > Single sign-on, and the tab only offers the preset picker once your organization's plan includes SSO: on DueReason's cloud that means an active (or grace-period) subscription, or nothing gated yet while billing is off; self-hosted, it means a license key carrying the sso feature. Short of that, the tab shows an upgrade card pointing at Billing or License instead.
In OneLogin's admin portal, OIDC means adding an OpenID Connect app from the Applications catalog; SAML means adding a SAML Custom Connector (or one of OneLogin's SAML app types).
Add OneLogin in DueReason
- In Settings > Single sign-on, choose Add provider, then pick OneLogin and the protocol you decided on.
- For OIDC, paste your OneLogin subdomain as the issuer -
https://{subdomain}.onelogin.com/oidc/2- plus the client ID and secret from the app's SSO tab. DueReason discovers OneLogin's token and authorization endpoints itself and shows you the exact redirect URI to register back in OneLogin (shaped likehttps://{your-domain}/api/auth/sso/callback/{provider-id}). - For SAML, paste the app's IdP metadata XML (downloadable from the app's SSO tab) or its entity ID and certificate directly. DueReason shows your ACS URL (
https://{your-domain}/api/auth/sso/saml2/sp/acs/{provider-id}) and an SP metadata URL you can hand back to OneLogin instead of filling every SAML field by hand. - Add the email domain your organization signs in with. DueReason refuses public mail domains (gmail.com and the like) outright.
Configure the app in OneLogin
OneLogin's own current reference for each protocol:
| Protocol | OneLogin's own documentation |
|---|---|
| OIDC | OpenID Connect provider configuration |
| SAML | SAML |
Paste DueReason's redirect URI (OIDC) or ACS URL and entity ID (SAML) from the step above into the matching fields on OneLogin's side, then assign the users or roles in OneLogin who should be able to reach this application.
Verify your domain and test sign-in
Back in DueReason, Get verification record shows a DNS TXT record name and value for the domain you added; once it resolves, Verify domain turns it on. Test sign-in then opens OneLogin in a new tab and reports pass or fail with the claims received, without storing them - a safe way to catch a mismatched redirect URI or a missing attribute mapping before anyone else tries to sign in.
What members see
Once a provider is active, anyone at its verified domain sees Continue with SSO on the sign-in page: they enter their work email and DueReason redirects them to OneLogin. An owner or admin can also bookmark the direct /sso/{org-slug} link for the organization. An SSO session skips DueReason's own two-factor prompt, since OneLogin owns multi-factor authentication for that sign-in.
Once you trust OneLogin for a domain, the same settings tab offers Require SSO for this domain: turning it on refuses password and Google sign-in for members at that domain and ends their existing sessions immediately. Owners always keep password sign-in as a break-glass path, audited, so a misconfigured or down OneLogin account can never lock your organization out of its own account.
Questions
- Should we use OIDC or SAML for OneLogin?
- Both are fully supported; OIDC is usually the quicker app to add in OneLogin (a client ID and secret, no certificate to exchange), so pick it unless your organization already standardizes on SAML.
- What role does a new member get through OneLogin SSO?
- Reviewer, DueReason's lowest-privilege role. SSO provisioning never creates an admin or owner; promote the person afterwards from Settings > Members if they need more.
- Can we restrict which OneLogin users reach DueReason?
- Yes - that assignment happens entirely on OneLogin's side, by assigning only specific users or roles to the application. DueReason only sees a sign-in once OneLogin has already allowed it.
Turn on single sign-on
See where SSO fits in DueReason's plans, then open Settings > Single sign-on as an owner or admin to add OneLogin.
See pricingSources
This guide explains the regulation as we read it; it is not legal advice. Check the official text and your national law, which may add obligations.