Schemas authorization endpoint

{
"title": "AuthenticationRequestSpid",
"type": "object",
"properties": {
"client_id": {
"title": "Client Id",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"response_type": {
"title": "Response Type",
"enum": [
"code"
],
"type": "string"
},
"scope": {
"type": "array",
"items": {
"$ref": "#/definitions/ScopeSpid"
}
},
"code_challenge": {
"title": "Code Challenge",
"type": "string"
},
"code_challenge_method": {
"title": "Code Challenge Method",
"enum": [
"S256"
],
"type": "string"
},
"nonce": {
"title": "Nonce",
"minLength": 32,
"type": "string"
},
"redirect_uri": {
"title": "Redirect Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"claims": {
"title": "Claims",
"type": "object"
},
"state": {
"title": "State",
"minLength": 32,
"type": "string"
},
"ui_locales": {
"title": "Ui Locales",
"type": "array",
"items": {
"type": "string"
}
},
"iss": {
"title": "Iss",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"iat": {
"title": "Iat",
"type": "integer"
},
"exp": {
"title": "Exp",
"type": "integer"
},
"jti": {
"title": "Jti",
"type": "string"
},
"aud": {
"title": "Aud",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2083,
"format": "uri"
}
}
]
},
"acr_values": {
"type": "array",
"items": {
"$ref": "#/definitions/AcrValues"
}
},
"prompt": {
"title": "Prompt",
"enum": [
"consent",
"consent login"
],
"type": "string"
}
},
"required": [
"client_id",
"response_type",
"scope",
"code_challenge",
"code_challenge_method",
"nonce",
"redirect_uri",
"state",
"iss",
"iat",
"aud"
],
"definitions": {
"ScopeSpid": {
"title": "ScopeSpid",
"description": "An enumeration.",
"enum": [
"openid",
"offline_access"
],
"type": "string"
},
"AcrValues": {
"title": "AcrValues",
"description": "An enumeration.",
"enum": [
"https://www.spid.gov.it/SpidL1",
"https://www.spid.gov.it/SpidL2",
"https://www.spid.gov.it/SpidL3"
],
"type": "string"
}
}
}

{
"title": "AuthenticationResponse",
"type": "object",
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"state": {
"title": "State",
"minLength": 32,
"type": "string"
}
},
"required": [
"code",
"state"
]
}

{
"title": "AuthenticationErrorResponse",
"type": "object",
"properties": {
"error": {
"title": "Error",
"enum": [
"invalid_request",
"unauthorized_client",
"access_denied",
"unsupported_response_type",
"invalid_scope",
"server_error",
"temporarily_unavailable"
],
"type": "string"
},
"error_description": {
"title": "Error Description",
"type": "string"
},
"state": {
"title": "State",
"minLength": 32,
"type": "string"
}
},
"required": [
"error",
"error_description",
"state"
]
}