Verify and link a DID registration proof.
curl --request POST \ --url https://auth.example.com/api/auth/dids/register/verify \ --header 'Content-Type: application/json' \ --cookie authrim_session=<authrim_session> \ --data '{ "challenge_id": "challenge_123", "proof": "eyJhbGciOiJFZERTQSJ9..." }'Verifies the DID proof for a prior registration challenge and links the DID to the current authenticated session user, then publishes the lookup route DID login uses to find the account. Refused with 403 when the tenant has DID login off (authentication-methods.did.login_enabled, default false), and with 503 when that setting cannot be read, before the challenge is consumed. Answers 503 temporarily_unavailable when the lookup route could not be published; repeat the link (new challenge and proof) to complete it.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Example
{ "challenge_id": "challenge_123", "proof": "eyJhbGciOiJFZERTQSJ9..."}Responses
Section titled “ Responses ”Successful JSON response.
object
Example
{ "success": true, "did": "did:web:example.com", "message": "DID successfully linked to your account"}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}Error response.
object
Optional browser-side WebAuthn Signal API hint. When unknown_credential is true, clients that just received a WebAuthn credential assertion may call PublicKeyCredential.signalUnknownCredential() for that credential ID.
object
Example generated
{ "error": "example", "error_description": "example", "message": "example", "webauthn_signal": { "unknown_credential": true }}