Finalize SSO credential enrollment
POST/sso/enroll
Finalizes the process of enrolling a SSO credential (identified by the given session_id) by updating the DB entry with data from the provided attestation.
The attestation is a CBOR encoded map that includes the credential's public key and its ID. Requires a signature over the attestation that should be verified using the previously stored SSO credential's verification_public_key.
Also verifies the attestation's public key by verifying its signature over the SSO credential's challenge.
Request
Responses
- 200
- 401
Enrollment successful
Unauthorized