Finalize an Auth Request and get the callback URL.
Finalize an Auth Request and get the callback URL for success or failure. The user must be redirected to the URL in order to inform the application about the success or failure. On success, the URL contains details for the application to obtain the tokens. This method can only be called once for an Auth request.
Path Parameters
- authRequestId string required
Set this field when the authorization flow failed. It creates a callback URL to the application, with the error details set.
- application/json
- application/grpc
- application/grpc-web+proto
Request Body required
session object
sessionId stringPossible values:
non-empty
and<= 200 characters
ID of the session, used to login the user. Connects the session to the Auth Request.
sessionToken stringPossible values:
non-empty
and<= 200 characters
Token to verify the session is valid
error object
Set this field when the authorization flow failed. It creates a callback URL to the application, with the error details set.
error - ERROR_REASON_INVALID_REQUEST: Error states from https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1 - ERROR_REASON_INTERACTION_REQUIRED: Error states from https://openid.net/specs/openid-connect-core-1_0.html#AuthErrorPossible values: [
ERROR_REASON_UNSPECIFIED
,ERROR_REASON_INVALID_REQUEST
,ERROR_REASON_UNAUTHORIZED_CLIENT
,ERROR_REASON_ACCESS_DENIED
,ERROR_REASON_UNSUPPORTED_RESPONSE_TYPE
,ERROR_REASON_INVALID_SCOPE
,ERROR_REASON_SERVER_ERROR
,ERROR_REASON_TEMPORARY_UNAVAILABLE
,ERROR_REASON_INTERACTION_REQUIRED
,ERROR_REASON_LOGIN_REQUIRED
,ERROR_REASON_ACCOUNT_SELECTION_REQUIRED
,ERROR_REASON_CONSENT_REQUIRED
,ERROR_REASON_INVALID_REQUEST_URI
,ERROR_REASON_INVALID_REQUEST_OBJECT
,ERROR_REASON_REQUEST_NOT_SUPPORTED
,ERROR_REASON_REQUEST_URI_NOT_SUPPORTED
,ERROR_REASON_REGISTRATION_NOT_SUPPORTED
]Default value:
ERROR_REASON_UNSPECIFIED
errorDescription stringerrorUri string
Request Body required
session object
sessionId stringPossible values:
non-empty
and<= 200 characters
ID of the session, used to login the user. Connects the session to the Auth Request.
sessionToken stringPossible values:
non-empty
and<= 200 characters
Token to verify the session is valid
error object
Set this field when the authorization flow failed. It creates a callback URL to the application, with the error details set.
error - ERROR_REASON_INVALID_REQUEST: Error states from https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1 - ERROR_REASON_INTERACTION_REQUIRED: Error states from https://openid.net/specs/openid-connect-core-1_0.html#AuthErrorPossible values: [
ERROR_REASON_UNSPECIFIED
,ERROR_REASON_INVALID_REQUEST
,ERROR_REASON_UNAUTHORIZED_CLIENT
,ERROR_REASON_ACCESS_DENIED
,ERROR_REASON_UNSUPPORTED_RESPONSE_TYPE
,ERROR_REASON_INVALID_SCOPE
,ERROR_REASON_SERVER_ERROR
,ERROR_REASON_TEMPORARY_UNAVAILABLE
,ERROR_REASON_INTERACTION_REQUIRED
,ERROR_REASON_LOGIN_REQUIRED
,ERROR_REASON_ACCOUNT_SELECTION_REQUIRED
,ERROR_REASON_CONSENT_REQUIRED
,ERROR_REASON_INVALID_REQUEST_URI
,ERROR_REASON_INVALID_REQUEST_OBJECT
,ERROR_REASON_REQUEST_NOT_SUPPORTED
,ERROR_REASON_REQUEST_URI_NOT_SUPPORTED
,ERROR_REASON_REGISTRATION_NOT_SUPPORTED
]Default value:
ERROR_REASON_UNSPECIFIED
errorDescription stringerrorUri string
Request Body required
session object
sessionId stringPossible values:
non-empty
and<= 200 characters
ID of the session, used to login the user. Connects the session to the Auth Request.
sessionToken stringPossible values:
non-empty
and<= 200 characters
Token to verify the session is valid
error object
Set this field when the authorization flow failed. It creates a callback URL to the application, with the error details set.
error - ERROR_REASON_INVALID_REQUEST: Error states from https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1 - ERROR_REASON_INTERACTION_REQUIRED: Error states from https://openid.net/specs/openid-connect-core-1_0.html#AuthErrorPossible values: [
ERROR_REASON_UNSPECIFIED
,ERROR_REASON_INVALID_REQUEST
,ERROR_REASON_UNAUTHORIZED_CLIENT
,ERROR_REASON_ACCESS_DENIED
,ERROR_REASON_UNSUPPORTED_RESPONSE_TYPE
,ERROR_REASON_INVALID_SCOPE
,ERROR_REASON_SERVER_ERROR
,ERROR_REASON_TEMPORARY_UNAVAILABLE
,ERROR_REASON_INTERACTION_REQUIRED
,ERROR_REASON_LOGIN_REQUIRED
,ERROR_REASON_ACCOUNT_SELECTION_REQUIRED
,ERROR_REASON_CONSENT_REQUIRED
,ERROR_REASON_INVALID_REQUEST_URI
,ERROR_REASON_INVALID_REQUEST_OBJECT
,ERROR_REASON_REQUEST_NOT_SUPPORTED
,ERROR_REASON_REQUEST_URI_NOT_SUPPORTED
,ERROR_REASON_REGISTRATION_NOT_SUPPORTED
]Default value:
ERROR_REASON_UNSPECIFIED
errorDescription stringerrorUri string
- 200
- 403
- 404
- default
OK
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs to- callbackUrl string
Callback URL where the user should be redirected, using a "302 FOUND" status. Contains details for the application to obtain the tokens on success, or error details on failure. Note that this field must be treated as credentials, as the contained code can be used to obtain tokens on behalve of the user.
{
"details": {
"sequence": "2",
"changeDate": "2023-07-28",
"resourceOwner": "69629023906488334"
},
"callbackUrl": "https://client.example.org/cb?code=SplxlOBeZQQYbYS6WxSbIA&state=af0ifjsldkj"
}
- Schema
- Example (from schema)
Schema
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs to- callbackUrl string
Callback URL where the user should be redirected, using a "302 FOUND" status. Contains details for the application to obtain the tokens on success, or error details on failure. Note that this field must be treated as credentials, as the contained code can be used to obtain tokens on behalve of the user.
{
"details": {
"sequence": "2",
"changeDate": "2023-07-28",
"resourceOwner": "69629023906488334"
},
"callbackUrl": "https://client.example.org/cb?code=SplxlOBeZQQYbYS6WxSbIA&state=af0ifjsldkj"
}
- Schema
- Example (from schema)
Schema
details object
sequence uint64on read: the sequence of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
changeDate date-timeon read: the timestamp of the last event reduced by the projection
on manipulation: the timestamp of the event(s) added by the manipulation
resourceOwner resource_owner is the organization or instance_id an object belongs to- callbackUrl string
Callback URL where the user should be redirected, using a "302 FOUND" status. Contains details for the application to obtain the tokens on success, or error details on failure. Note that this field must be treated as credentials, as the contained code can be used to obtain tokens on behalve of the user.
{
"details": {
"sequence": "2",
"changeDate": "2023-07-28",
"resourceOwner": "69629023906488334"
},
"callbackUrl": "https://client.example.org/cb?code=SplxlOBeZQQYbYS6WxSbIA&state=af0ifjsldkj"
}
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- code int32
- message string
details object[]
Array [@type string]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}