Unidy Docs

Environments and client types

Prepare the correct host, client registration, and redirect URIs for an authentication flow.

Choose the client type from where your application runs and where it can keep credentials. Then register it for the intended Unidy environment and brand.

ApplicationStarting pointCredential boundary
Browser or native application implementing OIDCAuthorization Code with PKCETreat it as a public client; do not embed a client secret.
Web application with a trusted backend handling the callbackAuthorization Code for confidential clientsKeep the client secret and token exchange on the backend.
Background service accessing provisioned REST resourcesMake your first REST requestUse a confidential application and the required resource scopes; client credentials does not sign in a customer.
Customer application using Unidy SDK components or hooksCustomer application SDKsUse SDK app configuration and the customer's session; an SDK key does not replace a confidential OAuth client secret.

Prepare the registration

  1. Confirm the Unidy environment and brand host with your administrator. Obtain separate test and production configuration appropriate to your deployment.
  2. List the exact callback URLs your application will use. Register them on the correct OAuth application; a callback configured for one host does not authorize an unrelated host.
  3. Confirm the application's public or confidential setting and the intended grant. Request only the scopes required by the flow.
  4. Load discovery from the expected issuer and check your client library's endpoint and token-authentication settings. Follow the OIDC overview for the current contract.
  5. Verify the complete flow in the intended environment, including callback errors, logout, and token expiry. Use the authentication and integration checklist before launch.

For dashboard scope and hostname checks, see Tenants, brands, and environments. To provision or change the application, see OAuth applications, claims, and services.

Was this page helpful?