Auth
Create an authentication request (server-to-server)
Called by the provider's backend with HTTP Basic (keyId:keySecret). audience must be an exact origin on the provider's allow-list. Physical requests return a short-lived clientToken; NFC requests return a pairing hint.
post/auth/requests
Request
- Base URL: https://atk.tvarka.pro/v1
- URL: https://atk.tvarka.pro/v1/auth/requests
- Auth: HTTP basic
Request body
Example request
{
"audience": "https://www.epaslaugos.lt",
"method": "physical"
}Response
Request created; awaiting the ATK client authorization.
Example response
{
"method": "physical",
"pairing": {
"pairingUrl": "https://sign.tvarka.pro/atk-login/#PAIRING_TOKEN",
"deepLink": "tvarkasign://atk/pair/PAIRING_TOKEN",
"qrPayload": "https://sign.tvarka.pro/atk-login/#PAIRING_TOKEN"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.