Skip to content

Company sign-in of a Dedicated instance

This section takes a Dedicated instance from nothing to its first sign-in with your company account: the callback address, the steps at Google, Microsoft Entra ID, Okta or Keycloak, each field of the instance and the common refusals. It can be read without a DSNLint account: pass it on to the administrator of your identity provider.

The path

A Dedicated instance signs people in with your company account, through OpenID Connect. Three steps: note the callback address; have an administrator create, at your identity provider, a web application with a secret (authorization code flow), following the section for that provider; enter its values in the instance and sign in there a first time, section “In the instance”. Do the first two steps before opening the installation link: each opening gives ten minutes to save and sign in.

  • Field
    Callback address
    Value
    Your instance’s address, shown on its page in the DSNLint Cloud account, followed by /plateforme/v1/auth/oidc/retour: https://<subdomain>.dedie.dsnlint.com/plateforme/v1/auth/oidc/retour. “Company sign-in” displays it too, with “Copy”. Declare it as it is at the provider: identical protocol, host name and path, without a trailing slash.

Google, with or without Google Workspace

The names in quotation marks are those of the Google Cloud console. An ordinary Google account is enough; for an “Internal” audience, the project must be attached to your company in Google Cloud.

  1. Create the project — In the Google Cloud console (https://console.cloud.google.com), create a project for your company.
  2. Set up Google Auth Platform — Open “Google Auth Platform” and click “Get started”. “App Information”: the application name (“App name”, for example DSNLint) and the support address (“User support email”: that of your Google account or of a Google Group you manage). “Audience”: “Internal” or “External”. “Contact Information”: the address where Google will notify you. Move on with “Next”, accept the “Google API Services: User Data Policy”, then “Continue” and “Create”.
  3. Authorize the domain dsnlint.com — In “Branding”, under “Authorized domains”, add dsnlint.com, the domain of your instance’s address, then “Save”. Do it before creating the client.
  4. Choose who can sign in — With “Internal”, there is nothing else to set. With “External”, open “Audience”: stay in “Testing” and add under “Test users”, with “Add users”, the address of the future owner and of each person to invite, then “Save”; or click “Publish app”.
  5. Create the client — In “Clients”, “Create client”: “Application type” “Web application” and a name. Under “Authorized redirect URIs”, “Add URI”, paste the exact callback address, then “Create”. A change can take from a few minutes to a few hours.
  6. Note the values — Copy the “Client ID” and the “Client secret” right away: the secret is shown in full only at creation.
  • Field
    Audience
    Value
    Who can authorize the application at Google. In all three cases, only the owner and invited people get into the instance.
  • Field
    Audience — Internal
    Value
    Only your company’s accounts sign in; another account gets “org_internal”.
  • Field
    Audience — External, “Testing”
    Value
    100 test users at most. According to its documentation, Google does not require their list from an application that only asks for the name, email address and profile, like DSNLint: no warning, and no authorization expiring after seven days. Add your people anyway: if Google refuses one (“access_denied”), check the list.
  • Field
    Audience — External, “In production”
    Value
    Any Google account can authorize the application. Add no logo and do not request brand verification: it requires ownership of the authorized domains, and dsnlint.com belongs to DSNLint. Without it, Google shows the application’s domain, not its name.
  • Field
    Issuer (HTTPS address)
    Value
    https://accounts.google.com, without a trailing slash.
  • Field
    Client ID
    Value
    The “Client ID”.
  • Field
    New client secret
    Value
    The “Client secret”.

Google deletes a client left unused for six months and sends an email 30 days beforehand. Documentation: https://support.google.com/cloud/answer/15549049 (authorized domains), https://support.google.com/cloud/answer/15549945 (audience) and https://support.google.com/cloud/answer/15549257 (clients).

Microsoft Entra ID

Microsoft’s documentation does not provide the “email_verified” claim in its ID tokens, and the instance requires it from an invited person. With Microsoft Entra ID, the owner created during installation can sign in, but an invited person is refused. Before choosing this provider for several people, write to support from the DSNLint Cloud account.
  1. Register the application — In the Microsoft Entra admin center, with at least the “Application Developer” role: “Entra ID” › “App registrations” › “New registration”. Give a name, pick for the account types your directory only (“Single tenant only”), then “Register”.
  2. Declare the callback address — In the application, “Authentication”, “Redirect URI configuration” tab: “Add Redirect URI” › “Web”, paste the callback address into “Redirect URI”, then “Configure”.
  3. Note the identifiers — On the “Overview” page, note “Application (client) ID” and “Directory (tenant) ID”.
  4. Create the secret — “Certificates & secrets” › “Client secrets” › “New client secret”: a description, a lifetime of 24 months at most, then “Add”. Copy its “Value” right away (displayed only once), not the “Secret ID”.
  • Field
    Issuer (HTTPS address)
    Value
    https://login.microsoftonline.com/<Directory (tenant) ID>/v2.0, with that identifier, not “common” or your domain name.
  • Field
    Client ID
    Value
    “Application (client) ID”.
  • Field
    New client secret
    Value
    The secret’s “Value”.

Documentation: https://learn.microsoft.com/entra/identity-platform/quickstart-register-app, https://learn.microsoft.com/entra/identity-platform/how-to-add-redirect-uri and https://learn.microsoft.com/entra/identity-platform/how-to-add-credentials.

Okta

  1. Create the application — In the admin console: “Applications and Resources” › “Applications” › “Create App Integration”, method “OIDC - OpenID Connect”, type “Web Application”.
  2. Declare the callback address and access — Under “Sign-in redirect URIs”, paste the callback address. Under “Controlled access”, choose who can use the application, including the future owner.
  3. Note the values — “General” tab, “Client Credentials”: “Client ID” and “Client secret”.
  • Field
    Issuer (HTTPS address)
    Value
    https://<your Okta domain>: the domain’s main authorization server (“org authorization server”), which Okta names for single sign-on to your OIDC apps. With the “default” authorization server: https://<your Okta domain>/oauth2/default.
  • Field
    Client ID
    Value
    The “Client ID”.
  • Field
    New client secret
    Value
    The “Client secret”.
Try with one invited person first. If they are refused although their address matches the invitation, check in Okta that this address is verified and that the ID token carries “email” and “email_verified”.

Documentation: https://developer.okta.com/docs/guides/sign-into-web-app-redirect/main/ and https://developer.okta.com/docs/concepts/auth-servers/.

Keycloak

  1. Create the client — In the admin console, choose your realm (not “master”), then “Clients” › “Create client”, type “OpenID Connect”, with the “Client ID” of your choice.
  2. Configure the client — Turn on “Client authentication” and “Standard flow”. Under “Valid redirect URIs”, paste the exact callback address, without “*”.
  3. Note the secret — “Credentials” tab, “Client Id and Secret” authentication: copy the secret.
  4. Prepare the accounts — The address of each invited person must be marked as verified (“Email verified”).
  • Field
    Issuer (HTTPS address)
    Value
    The “issuer” value of https://<your server>/realms/<realm>/.well-known/openid-configuration, of the form https://<your server>/realms/<realm>.
  • Field
    Client ID
    Value
    The “Client ID” you chose.
  • Field
    New client secret
    Value
    The secret from the “Credentials” tab.

Documentation: https://www.keycloak.org/docs/latest/server_admin/ and https://www.keycloak.org/securing-apps/oidc-layers.

In the instance: the form and the first sign-in

  1. Open the installation link — In the DSNLint Cloud account, “Subscription” › “Dedicated instances”, open the instance page: once the instance is delivered, and as long as it is not installed, its owner finds “Install the instance” there. “Company sign-in” opens; you have ten minutes to save and then complete the first sign-in. After that, reopen the same link, enter the secret again and save again: the link works until installation is complete, within its 24 hours. After 24 hours, as long as the instance is not installed, ask for a “New installation link” on the instance page.
  2. Fill in “Company sign-in” — Compare the “Callback address” displayed with the one declared at the provider, enter the fields below, then click “Save”.
  3. Sign in a first time — Under “3. First sign-in”, click “Sign in with the company account” and choose the account that should become the owner. The first successful sign-in creates it and closes installation.
  • Field
    Issuer (HTTPS address)
    Value
    The “issuer” value of the public document that the provider serves at <issuer>/.well-known/openid-configuration, copied exactly. Enter the issuer, without “?” or “#”, not the address of that document. The provider must be reachable from the Internet, with a certificate from a public authority.
  • Field
    Client ID
    Value
    The identifier of the application created at the provider.
  • Field
    New client secret
    Value
    The secret of that application, if it uses one. Once saved, it is no longer displayed, and leaving the field empty keeps it.

“Save” checks that the provider answers for this issuer; the client ID and secret are only tried at sign-in. The instance requests “openid email profile”.

After that, a new person must be invited at their address (“Members and access”), and the provider’s ID token must carry that address (“email”) as verified (“email_verified”). A member who has already joined signs in with their account. The settings are found again in “Settings” › “Instance”, where only the secret can be changed.

Common refusals

  • Question
    The provider refuses the callback address: what should I do?
    Answer
    Google writes it “redirect_uri_mismatch”, Microsoft “AADSTS50011”. The address declared at the provider is not exactly the one in “Company sign-in”: copy it again, save at the provider and wait a few minutes (up to a few hours at Google).
  • Question
    “Save” is refused: what should I do?
    Answer
    If you see “The service is unavailable.” or “The identity provider’s advertised address does not match the configured issuer.”, open <issuer>/.well-known/openid-configuration in a browser and copy its “issuer” value exactly. If the page does not open, the address is wrong or the provider is not reachable from the Internet.
  • Question
    “Sign-in could not be verified or the attempt expired.”: what should I do?
    Answer
    The client secret is wrong, expired or disabled (at Microsoft, enter the “Value”, not the “Secret ID”), or the attempt took more than ten minutes. During installation, reopen the installation link, enter the secret again, save, then click “Sign in with the company account”.
  • Question
    How do I renew the client secret before it expires?
    Answer
    Create a new secret at the provider before the old one expires. The owner enters it in “Settings” › “Instance” › “New client secret”, with a sign-in within the last five minutes, saves, then tries a sign-in right away in a private window: while their own sign-in is less than five minutes old, they can correct the secret. They then delete the old one. If the secret has expired and nobody can sign in any more, write to support from the DSNLint Cloud account.
  • Question
    The provider refuses the person or cannot find the application: what should I do?
    Answer
    Google: “org_internal” means the account is not one of your company’s accounts; “access_denied”, in “Testing”, that the account may be missing under “Test users”. Microsoft: “AADSTS50105” means the person is not assigned to the application (“Enterprise apps”); “AADSTS700016”, that the application is not found in the directory (check the client ID and the issuer). Okta: assign the application to the person.
  • Question
    “This company account does not have access to this instance.”: what should I do?
    Answer
    The person has no pending invitation at this address, or the provider does not send it as verified (for Microsoft Entra ID, see its section). In “Members and access”, create an invitation at their exact address. Before installation is complete, this message also means a sign-in started without the installation link, or more than ten minutes after opening it: reopen the link.
  • Question
    “The identity provider does not accept the client’s authentication method.”: what should I do?
    Answer
    The provider advertises neither client_secret_post nor client_secret_basic in its <issuer>/.well-known/openid-configuration document: the instance can identify itself to it only with a secret sent by one of these two methods; write to support from the DSNLint Cloud account.
Move from Cloud to DSNLint Dedicated
Previous section
Service limits: what to plan for
Next section