How to set up SSO for Create with your own app registration

Modified on Tue, 3 Nov at 8:58 AM

How to set up SSO for Create with your own app registration

TABLE OF CONTENTS

Overview

This article explains how to set up a public client app registration in Microsoft Entra ID, so your users can sign in to your Create tenant with single sign-on (SSO).

The steps are based on the Microsoft guide to registering a public client app, with the additional settings that Create requires.

When you have completed the setup, you send the "Application (client) ID", "Directory (tenant) ID" and scope to Omnidocs, and we create your organization.


Prerequisites

  • A Microsoft Entra subscription.
  • Administrator permissions in the Azure portal.
  • An account in the same Microsoft 365 tenant as the one you want to register the app in.


Create an app registration

  1. Sign in to the Microsoft Azure portal with an administrator account.
  2. On the "Home" page, under "Azure services", select "Microsoft Entra ID".
    • You can also go through the Microsoft 365 admin center. Select "All admin centers", then "Microsoft Entra", and then "Go to Microsoft Entra ID". In the left navigation pane, expand "Applications".
  3. In the left navigation pane, select "App registrations", and then select "+ New registration".
  4. Enter the registration information:
    • "Name": Enter a meaningful name. The name is displayed to your users.
    • "Supported account types": Select "Accounts in this organizational directory only (Single tenant)", unless users from several Entra ID tenants need to sign in.
    • "Redirect URI": Select "Single-page application (SPA)" and enter https://app.omnidocs.cloud/auth/callback.
  5. Select "Register". The "Overview" page of the app registration opens.
  6. Copy the "Application (client) ID" and the "Directory (tenant) ID", and save them. You need to send them to Omnidocs at the end of the setup.

Note: The redirect URI is required for SSO to work. If you skip it during registration, you can add it later from the "Overview" page under "Essentials".


Expose an API

  1. In the left navigation pane, select "Expose an API".
  2. Select "+ Add a scope" and accept the generated "Application ID URI".
  3. Fill in the scope:
    • "Scope name": API.Access
    • "Who can consent?": "Admins and users"
    • "Admin consent display name" and "Admin consent description": Enter a name and description of your choice. The consent allows Omnidocs to access your users.
    • "State": "Enabled"
  4. Select "Add scope".
  5. Copy the full scope value, for example api://<Application ID>/API.Access, and save it together with the IDs from the previous section.


Add API permissions

  1. In the left navigation pane, select "API permissions", and then select "Add a permission".
  2. Under "APIs my organization uses", select the app registration you created.
  3. If you are prompted, select "Delegated permissions".
  4. Select API.Access, and then select "Add permissions".
  5. Select "Grant admin consent for <OrganizationName>", even if it looks like consent is already granted, and confirm with "Yes".

Note: If you do not grant admin consent, your users will get a consent error when they sign in. If the "Grant admin consent" button is greyed out, you do not have permission to grant consent. Read more in the Microsoft articles about the admin consent button and user and admin consent in Microsoft Entra ID.


Configure the token

  1. In the left navigation pane, select "Token configuration".
  2. Select "+ Add optional claim".
  3. Set "Token type" to "Access".
  4. Select verified_primary_email, and then select "Add".


Allow public client flows

  1. In the left navigation pane, select "Authentication".
  2. Under "Advanced settings", set "Allow public client flows" to "Yes".
  3. Select "Save".


Update the manifest

  1. In the left navigation pane, select "Manifest".
  2. Find the property that sets the access token version, and set its value to 2. Depending on the manifest format, the property is called one of the following:
  3. If you want to use custom claims, set acceptMappedClaims to true. The default value is false. You configure the custom claims themselves in the enterprise application.
  4. Select "Save".


Send the details to Omnidocs

Send the following details to Omnidocs, so we can create your organization:

  • The "Application (client) ID".
  • The "Directory (tenant) ID".
  • The scope, for example api://<Application ID>/API.Access.
  • The domain name you want to use, if it has not already been agreed upon.

We will let you know when your organization is ready. Your users can then sign in to Create at https://{domainName}.omnidocs.cloud/create.

If you have any questions or run into issues, contact Omnidocs Support.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article