SSO Auth0

Create Organization (Internal)

Create a new organization with Auth0 authentication. The Auth0 user will be the organization owner.

post
https://global.api.konghq.com/v3/internal/auth0/register

Body

application/json

Auth0 organization register

Auth0 organization registration

organization_namestringrequired
default_regionstringrequired
mfa_enabledboolean

Whether Multi-Factor Authentication (MFA) is enabled for the organization.

Default:true

Response

application/json

Auth0 organization registration

Auth0 organization registration response

A successful Auth0 organization registration response.

organization_idstring
login_pathstring
post/internal/auth0/register

Body

{ "organization_name": "organization_name", "default_region": "default_region" }
 
application/json

List Organizations (Internal)

Retrieves the list of organizations available to the given user.

get
https://global.api.konghq.com/v3/internal/auth0/organizations

Response

application/json

A paginated list response for a collection of auth0 organizations.

Auth0 Organizations Collection Response

metaobject

returns the pagination information

Show Child Parameters
dataarray[object]

A single auth0 organization.

Show Child Parameters
get/internal/auth0/organizations
 
application/json

Base Device Authorization Grant Bad Request

object
error_descriptionstring

Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.

error_uristring

A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.

Example

Device Authorization Grant Authorize Error

object

The error response for the device authorization grant request.

errorstringrequired

A single error code from the following enum.

invalid_request
The request is missing a required parameter, includes an unsupported parameter value (other than grant type),
repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the
client, or is otherwise malformed.

invalid_client
Client authentication failed (e.g., unknown client, no client authentication included, or unsupported
authentication method).

invalid_grant
The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is
invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to
another client.

unauthorized_client
The authenticated client is not authorized to use this authorization grant type.

unsupported_grant_type
The authorization grant type is not supported by the authorization server.

invalid_scope
The requested scope is invalid, unknown, malformed, or exceeds the scope granted by the resource owner.

Allowed values:invalid_requestinvalid_clientinvalid_grantunauthorized_clientunsupported_grant_typeinvalid_scope

Example