Due Diligence Works

Authentication

Pick the environment and the protocol your identity provider or platform uses.

Environment
Protocol
We provide Service provider entity ID
https://auth.duediligenceworks.com
Assertion consumer service
https://auth.duediligenceworks.com/__/auth/handler
You provide
  • Identity provider metadata, or its three values: the IdP entity ID, the sign-on URL and the signing certificate (X.509).
  • Attribute mapping, only if your attribute names differ from those below.
  • Certificate rotation: how and when your signing certificate rotates, with the next certificate sent ahead of the change so both are trusted during the switch.
Assertion Name ID
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress

The user's email address. Required; it is the account identifier.

Attributes
First name
firstName
Also read: givenName, first_name, given_name
Last name
lastName
Also read: surname, last_name, family_name
We provide Redirect URI
https://auth.duediligenceworks.com/__/auth/handler

Register this as the application's redirect (callback) URI. Authorization code flow.

You provide
  • Issuer URL: the OpenID Connect discovery issuer of your provider.
  • Client ID and client secret for the application you register for Due Diligence Works.
  • Scopes: openid email profile.
Claims
Email
email
Required; it is the account identifier.
First name
given_name
Also read: firstName, first_name
Last name
family_name
Also read: lastName, last_name, surname
We provide Sign-in receiver
https://auth.duediligenceworks.com/auth/jwt/{providerId}

Your DDW team assigns the provider id. Your platform redirects the user's browser here with a token you signed; Due Diligence Works validates it and signs the user in.

The request
  • Form POST from the user's browser, token in Authorization: Bearer or the form field access_token.
  • Signed JWT, RS256, with a short expiry.
  • errorurl form field, optional: where to send the browser if the sign-in is refused.
  • Referer: the launching origin selects the environment, so each of your environments launches from its own origin.
You provide
  • Signing certificate: the X.509 certificate (PEM) that verifies your tokens, one per environment.
  • Issuer: the value your tokens carry in iss.
  • Launch origins: the origin of each environment that will redirect users to us.
  • Claim names for the values below, if they differ from your defaults.
Claims
User idYour stable identifier for the person. Required.
Organization keyThe value that identifies the firm on your side, matched to the organization on ours. Required.
Context idThe account or record the user launched from. Required; it is what the submission attaches to.
EmailRecommended; lets us match the person to an existing account.
First name, last nameOptional; used for the profile and signatures.
Something else

If your identity system or platform does not speak SAML, OpenID Connect or a signed JWT hand-off, tell us how it signs people in and we will scope the connection with you.

Send us
  • The system that holds your users and how it authenticates them today.
  • The protocol or standard it can speak, with a link to its documentation.
  • How a user would reach Due Diligence Works: a link in your portal, a launch from a record, a direct sign-in.
  • Your environments and which of them should connect to our UAT before production.

Non-standard attribute names can be mapped per tenant on request. Reach us at support@duediligenceworks.com, or send us files such as certificates and metadata.