Skip to content

Verify authentication challenge

POST
/api/federation/auth/verify
curl --request POST \
--url http://localhost:3001/api/federation/auth/verify \
--header 'Content-Type: application/json' \
--data '{ "challenge": "example", "nonce": "example", "server_id": "example", "signature": "example", "timestamp": 1 }'

Validates cryptographic signature for federated server authentication

Authentication verification

Media typeapplication/json
object
challenge
string
nonce
string
server_id
string
signature
string
timestamp
integer format: int64
Examplegenerated
{
"challenge": "example",
"nonce": "example",
"server_id": "example",
"signature": "example",
"timestamp": 1
}

OK

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Bad Request

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Not Found

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}