Skip to main content

Okta and Auth0

Identity verification for Okta and Auth0

Run a Didit identity check inside your Okta or Auth0 sign-in. Didit is the verification vendor, and your identity provider gets a signed result.

Base URL, for production and sandbox

https://apx.didit.me/auth/idv

How it works

Didit as your verification vendor

OpenID Connect is a standard sign-in protocol. Didit uses it to hand a verified identity back to your identity provider.

1

Push the request

Your identity provider sends the request to Didit from its server. This is a Pushed Authorization Request, or PAR. Didit returns a single-use request_uri.

POST/par
2

The user verifies with Didit

The browser goes to Didit with the request_uri. Didit creates a session and shows the hosted verification flow.

GET/authorize
3

Get an ID token with verified claims

Your identity provider swaps a one-time code for a signed ID token. It carries a verified_claims array with the result.

POST/token
One rule to trust. Treat the user as verified only when trust_framework is IDV-DELEGATED and assurance_level is VERIFIED. That means the session was approved and every requested claim matched the document.

Endpoints

Six endpoints

All six live under one base URL.

POSThttps://apx.didit.me/auth/idv/parPushed Authorization Request
GEThttps://apx.didit.me/auth/idv/authorizeAuthorization
POSThttps://apx.didit.me/auth/idv/tokenToken
GEThttps://apx.didit.me/auth/idv/jwksJWKS, the public keys that check the token signature
GEThttps://apx.didit.me/auth/idv/.well-known/openid-configurationDiscovery, the document that lists the other five
GEThttps://apx.didit.me/auth/idv/userinfoUserInfo

Production and sandbox use the same endpoints. The application behind your client credentials decides the environment.

Details

Details

The values an identity team asks for before setup.

Protocol

PKCERequired, with code_challenge_method=S256. PKCE proves the same client started and finished the flow.
ID tokensSigned with RS256. Check them against the JWKS endpoint.
Scopesopenid profile identity_assurance
request_uriSingle use. Valid for 60 seconds.
Client authenticationclient_secret_basic or client_secret_post
Claims comparedgiven_name and family_name, always with fuzzy matching.

Setup

Turn it onAsk Didit to enable identity verification for your applications. An API key alone does not enable it.
OktaAdd a custom identity verification vendor in the Okta Admin Console, then use it in an Account Management Policy rule.
Okta callback{yourOktaOrgUrl}/idp/identity-verification/callback
Auth0The same endpoints, called from a post-login Action. The docs include the full Action code.
Auth0 redirect URIhttps://{yourAuth0Domain}/continue
Client secretThe client secret Didit issues for the integration when it enables it. It is shown once.

Questions

Questions about Okta and Auth0

What does bring your own identity verification vendor mean in Okta?
Okta Identity Engine lets you add a custom identity verification vendor. Didit implements the contract Okta expects, with Pushed Authorization Requests, the authorization code flow with PKCE, and an ID token that carries verified claims.
Does Didit work with Auth0?
Yes. Auth0 has no native slot for a verification vendor, so the check runs from a post-login Action that redirects the user into the same flow. The docs include the Action code.
How do I know the user is verified?
Read the ID token. Treat the user as verified only when trust_framework is IDV-DELEGATED and assurance_level is VERIFIED.
Which claims can Didit compare?
given_name and family_name. Both are compared with fuzzy matching against the verified document.
Is there a separate sandbox URL?
No. Production and sandbox use the same endpoints. The application behind your client credentials decides the environment.
Can I turn it on with my API key alone?
No. Ask Didit to enable identity verification for your application, link it to a workflow and register your callback URL.
Which URLs do I enter in the Okta Admin Console?
Didit uses one issuer, https://apx.didit.me/auth/idv, for both production and sandbox. In Okta, enter the PAR request URL, authorize URL, token URL and JWKS URL under that base (/par, /authorize, /token and /jwks) and the scopes openid, profile and identity_assurance. A discovery document at /.well-known/openid-configuration lists every endpoint.
What do I use as the client secret?
Use the Primary API key of the matching Didit application, found in Developers, API keys in the Didit Console, together with that application's client ID. A separately created named API key cannot replace it. The client secret is required even though the flow also uses PKCE (Proof Key for Code Exchange).
Which callback URL do I give Didit?
For Okta, give Didit your callback URL using your Okta organization URL followed by /idp/identity-verification/callback so it can be registered on your client. For Auth0, register your Auth0 domain over HTTPS followed by /continue as the redirect URI. Ask Didit to register the exact callback URL for each Okta tenant.
How long is a pushed authorization request valid?
Didit returns a single-use request_uri that is valid for 60 seconds after the relying party calls POST /par. Redirect the user to /authorize with it straight away. Authorization codes, request_uri values and verification sessions are all single use, so a retried login needs a fresh Pushed Authorization Request (PAR).
What errors can the Didit endpoints return?
Errors follow RFC 6749 and RFC 9126. Failed client authentication returns 401 with invalid_client. An expired or replayed request_uri or authorization code returns 400 with invalid_request or invalid_grant. Because request_uri values and codes are single use, a replayed value always fails.
How do I validate the ID token signature?
Didit signs ID tokens with RS256, so verify each token against the JWKS endpoint at https://apx.didit.me/auth/idv/jwks. The docs also recommend checking iss, aud, exp and nonce before you trust the token, then reading the verified_claims array for the verification result.
What happens if the name on the document does not match?
The ID token still arrives, but assurance_level is FAILED. Didit sets it to VERIFIED only when the verification session was approved and every requested claim, given_name and family_name, matched the verified document. Treat any value other than VERIFIED as an unsuccessful verification.
How do I find the Didit session behind an ID token?
Read verification_process inside verified_claims. It holds the Didit session ID, so you can look the verification up in the Didit Console or through the sessions API. The Auth0 example in the docs stores it in the user's app_metadata as idv_session for later reference.
Why does the Auth0 token exchange fail with invalid_grant on retries?
The PKCE code_verifier was probably stored in one shared field and overwritten. Didit's docs say to store the verifier per login transaction, keyed by event.transaction.id, not in a single app_metadata field. A retried or overlapping login otherwise replaces it and the token exchange fails with invalid_grant.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Trusted by EU regulators

    After a year of supervised testing, EU financial regulators confirmed that verifying with Didit is safer than checking an ID in person.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Start

Read the setup guide

The docs list every field for Okta and the full Action code for Auth0. Ask Didit to enable it for your application.

Free sandbox. Credit applies to work-email sign-ups.