Authentication and OIDC
TABLE OF CONTENTS
- Overview
- Supported authentication flows
- Public vs Confidential OIDC clients
- Required OIDC configuration details
- Microsoft Entra reference
- Operator responsibilities
Authentication in Omnidocs Create
Overview
As an operator, you can configure OpenID Connect (OIDC) authentication for an organization. This allows the organization to authenticate users using another identity provider instead of Entra ID.
Omnidocs Create supports OIDC using the Authorization Code Flow with PKCE. This applies both to standard OAuth 2.0 integrations and to full OIDC configurations.
You configure OIDC per organization.
Supported authentication flows
Omnidocs Create uses the Authorization Code Flow with PKCE for all OIDC and OAuth 2.0 integrations.
You should always use this flow when configuring an identity provider.
This approach prevents token leakage, works securely in browser-based environments and aligns with modern OAuth 2.0 and OIDC best practices.
You can refer to the Keycloak documentation for a detailed explanation of this flow.
Public vs Confidential OIDC clients
There is no separate setting for the client type. Create uses a public client when Client Secret is left empty, and a confidential client when Client Secret is filled in.
Public clients
You configure a public client when the identity provider does not require a client secret.
Public clients:
- Are not required to use a client secret
- Rely on HTTPS and strict redirect URI validation for security
- Are required for browser-based applications such as SPAs
Confidential clients
You configure a confidential client when the identity provider issues a client secret.
Confidential clients:
- Require a client secret when exchanging authorization codes for tokens
- Are typically used in server-to-server or backend-assisted flows
- Provide an additional layer of security
Choosing the right client type
Leave Client Secret empty (public client) if authentication happens entirely in the browser.
Fill in Client Secret (confidential client) if your identity provider requires a client secret.
Both client types are supported by Omnidocs Create.
Required OIDC configuration details
When you configure OIDC for an organization, you must collect the required information from the customer or identity provider.
Public client configuration
For a public OIDC configuration, you need:
- OIDC Metadata or Discovery Endpoint
- Client ID
- Redirect URI:\ https\://[HOST]/auth/callback
You do not provide a client secret for public clients.
Confidential client configuration
For a confidential OIDC configuration, you need:
- OIDC Metadata or Discovery Endpoint
- Client ID
- Client Secret
- Redirect URI: https://[HOST]/auth/callback-web (required, confidential clients always use this address)
You should store the client secret securely and treat it as sensitive information.
Scopes
Create always asks for the openid, profile and email scopes. Use offline_access scope adds offline_access, which some providers, such as Microsoft Entra, need to issue refresh tokens. If you are unsure, leave it on. Use Scope ID to ask for more scopes, separated by spaces.
Who can change the settings
Organization administrators can change the identity provider themselves: open Settings, select the organization and click Configure next to Identity Provider.
Microsoft Entra reference
If the organization uses Microsoft Entra, you can refer to the SSO article for Microsoft Entra ID.
Operator responsibilities
As an operator, you are responsible for:
- Selecting the correct client type for the organization
- Verifying redirect URIs before enabling authentication
- Ensuring HTTPS is enforced
- Validating OIDC configuration with the customer before rollout
Please note that incorrect OIDC configuration can block user access for the entire organization.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article