Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 7 additions & 12 deletions openapi/paths/auth/auth_credentials_{id}_verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ post:
public key; this is also the reauthentication path after a prior
session expired. For `PASSKEY` credentials, the client completes a
WebAuthn assertion (`navigator.credentials.get()`) against the
Grid-issued `challenge` returned from either `POST /auth/credentials`
(first authentication) or `POST /auth/credentials/{id}/challenge`
(reauthentication), and submits the resulting `assertion` along with
the client-generated public key. The `requestId` that accompanied
the challenge must be echoed in the `Request-Id` header so Grid can
correlate the assertion with the pending challenge; Grid verifies
the WebAuthn signature against the stored credential before issuing
the session.
Grid-issued `challenge` returned from
`POST /auth/credentials/{id}/challenge`, and submits the resulting
`assertion` with the `Request-Id` header. The `clientPublicKey`
for `PASSKEY` credentials is supplied on the challenge call, where
it is bound into the pending session-creation request.


On success, the response contains an `encryptedSessionSigningKey`
Expand All @@ -46,10 +43,8 @@ post:
required: false
description: >-
The `requestId` returned alongside the Grid-issued `challenge` from
`POST /auth/credentials` or `POST /auth/credentials/{id}/challenge`,
echoed back here so Grid can correlate the assertion with the
pending challenge. Required when `type` is `PASSKEY`; ignored for
`EMAIL_OTP` and `OAUTH`.
`POST /auth/credentials/{id}/challenge`, echoed back here so Grid
can correlate the assertion with the pending challenge.
schema:
type: string
example: 7c4a8d09-ca37-4e3e-9e0d-8c2b3e9a1f21
Expand Down
Loading