OIDC Single Sign-On
The same shape as SAML, a simpler protocol
An OIDC connection routes a verified email domain to your customer's own OpenID Connect provider. BillDog discovers the provider's endpoints, runs an authorization code flow with PKCE, and verifies the returned ID token against the issuer's own JWKS. Use it where the customer's IdP speaks OIDC rather than SAML.
Setting one up
Project Settings → Auth → SSO connections → Add connection, kind oidc. Three fields:
| Field | Notes |
|---|---|
| Issuer | The provider's issuer URL. Its /.well-known/openid-configuration is fetched to discover the authorization, token and JWKS endpoints — you do not enter those by hand |
| Client ID | From the application your customer registers with their provider |
| Client secret | Write-only — see below |
The client secret is never readable, and omitting it keeps it
Route a domain to it
As with SAML, link a verified organization domain. That link is what resolves a typed work email to this connection; without it the connection is configured and unreachable.
What happens at sign-in
- The user types their work email on your sign-in page.
- BillDog resolves the domain to this connection and discovers the provider's endpoints.
- It builds the authorization URL with PKCE and a nonce, and sends the user there.
- The provider returns a code to BillDog's callback.
- BillDog redeems it server to server and verifies the ID token against the issuer's own JWKS.
- The address is checked against the routed domain, and a session is established.
The nonce is required here in a way it is not for consumer sign-in: issuer and audience alone do not distinguish two different sign-ins within the same IdP client, so without it one authentication could be replayed as another.
An IdP is authoritative only for the domain that routed to it
bob@eng.acme.com through a connection routed for acme.com does not get in. This is the check that stops one customer's IdP claiming another customer's users.Enabling a connection
A connection can be marked enabled once it has an issuer and a client ID. That is a weaker bar than a working sign-in: without a linked verified domain, nothing routes to it and no one can use it. Treat "enabled" as "configured", and test an actual sign-in in sandbox before telling a customer it is live.
Which one should a customer use?
| Prefer | When |
|---|---|
| SAML | Okta or Entra with an existing SAML app; the customer's IT team asks for metadata and an ACS URL; SCIM provisioning is wanted alongside |
| OIDC | A modern provider that speaks OIDC natively, or a customer who would rather register an OAuth application than exchange XML |
Testing it
curl https://<their-issuer>/.well-known/openid-configurationIf that does not return JSON with authorization_endpoint, token_endpoint and jwks_uri, the issuer is wrong or not reachable — and every sign-in through the connection will fail at step 2.
Was this page helpful?
Or rate this page: