Create a new auth server
Changed onCreate a new auth server. Each auth server has a unique, randomly generated, public issuer URL.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Request body
The name of the auth server
The description of the auth server
The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
Algorithm used in the key signing process
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
A list or trusted origins to apply the CORS header on for the auth server
Dynamic Client Registration settings for the auth server. Both fields are optional; an omitted field falls back to its default.
Example request
{
"labels": {
"env": "test"
},
"trusted_origins": [
"https://example.com"
]
}Response
An auth server
The ID of the auth server
The name of the auth server
The description of the auth server
The recipients that the tokens are intended for. This becomes the 'aud' claim in an access token
Algorithm used in the key signing process
The complete URL for the custom authorization server. This becomes the 'iss' claim in an access token.
The URI of the metadata document for the auth server
The URI of the JWKS endpoint for the auth server
Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.
Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".
An ISO-8601 timestamp representation of entity creation date.
An ISO-8601 timestamp representation of entity update date.
A list or trusted origins to apply the CORS header on for the auth server
Dynamic Client Registration settings for the auth server
Example response
{
"labels": {
"env": "test"
},
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z",
"trusted_origins": [
"https://example.com"
]
}Changes
- breaking
added to the
invalid_parameters/itemsresponse propertyoneOflist for the response status - warning
added the new
key_invalidenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status - warning
added the new
uniqueenum value to theinvalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/ruleresponse property for the response status
- breaking