acme.yourcompany.com
) that redirects users to Auth0 with an Organization, so that your users see Acme’s Login button.Field | Description | API Mapping |
---|---|---|
Type of Users | Determines which category of users can log in to your application. Options include:
| Type of Users maps to organization_usage Options:
|
Login Flow | Determines the initial login prompt presented to users when they access your application. You can only configure this field if Type of Users is set to Businsess Users or Both. Options include:
| Login Flow maps to organization_require_behavior Options:
|
PATCH
call to the Update a Client endpoint. Be sure to replace client_id
, mgmt_api_access_token
, organization_usage
, and organization_require_behavior
placeholder values with your , Management API , organization use option, and organization behavior option, respectively.
Value | Description |
---|---|
CLIENT_ID | ID of the application for which you want to add organization behavior. |
MGMT_API_ACCESS_TOKEN | Access Tokens for the Management API with the scope update:clients . |
ORGANIZATION_USAGE | Dictates whether your application can support users logging into an organization. Options include:
|
ORGANIZATION_REQUIRE_BEHAVIOR | Determines the Login Flow presented to users accessing your application. Only applicable when organization_usage is set to require or allow .Options include:
|
Status code | Error code | Message | Cause |
---|---|---|---|
200 | Client successfully updated. | ||
400 | invalid_uri | Invalid request URI. The message will vary depending on the cause. | The path is not valid. |
400 | invalid_body | Invalid request body. The message will vary depending on the cause. | The request payload is not valid. |
401 | Invalid token. | ||
401 | Client is not global. | ||
401 | Invalid signature received for JSON Web Token validation. | ||
403 | insufficient_scope | Insufficient scope; expected any of: update:clients . | Tried to read/write a field that is not allowed with provided bearer token scopes. |
403 | insufficient_scope | Some fields cannot be updated with the permissions granted by the bearer token scopes. The message will vary depending on the fields and the scopes. | Tried to read/write a field that is not allowed with provided bearer token scopes. |
403 | operation_not_supported | The account is not allowed to perform this operation. | The account is not allowed to perform this operation. |
404 | inexistent_client | Client not found. | Inexistent resource. Specified application does not exist. |
429 | Too many requests. Check the X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers. |