Skip to content

Exchange code

During a registration or authentication operation the @passlock/browser library will return a code (alongside an id_token). You can send the code to your backend then use the REST API to verify it and obtain details about the passkey used.

HTTP Request
1
GET /v2/{tenancyId}/principal/\{code\} HTTP/1.1
2
Host: api.passlock.dev
3
Accept: application/json
4
Authorization: Bearer {apiKey}

See principal

Morty Proxy This is a proxified and sanitized view of the page, visit original site.