Shared application
Use one application across multiple organizations with org-specific client IDs.
A shared application can be used by multiple organizations. Only the built-in organization can create shared applications. Each organization uses the same application with an org-specific identifier: append -org-<organizationName> to the client ID or application name.
Example: application client ID 2dc94ccbec09612c04ac, organization casbin → use client ID 2dc94ccbec09612c04ac-org-casbin. OAuth authorize URL: https://iam.hanzo.ai/oauth/authorize?client_id=2dc94ccbec09612c04ac-org-casbin&response_type=code&redirect_uri=...&scope=read&state=iam.
Configuration
- Create the application.
- Enable Is Shared.
- Use
-org-<orgName>when referring to the app (e.g. in client_id or login URLs).


Invitations
For invitations with a shared application, Hanzo IAM generates organization-specific links with the -org-{orgName} suffix so users register in the correct organization.
:::caution Once an application is shared, it is available to all organizations and cannot be restricted to a subset. :::
Here is a demo video that shows how to use shared application:
How is this guide?
Last updated on