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.
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 }}