Skip to content

feat: v0.20 routes and recovery sessions in every adapter #232

Open

Description

@Bccorb

What the v0.20 API (epic fells-code/seamless-auth-api#386) needs from the adapters. Contract: @seamless-auth/types 0.30.0 (fells-code/seamless-auth-types#108).

Recovery sessions (fells-code/seamless-auth-api#491)

  • An access token may carry recovery: true. requireAuth (and the Next.js / Go / Python / Rust equivalents) refuses it by default with 403 enrollment_required, with an option to allow it, so an app does not treat a half-recovered account as signed in.
  • After passkey registration or TOTP enrollment from a recovery session, the API lifts the restriction on the session; the adapter should refresh so the cookie's access token drops the claim.

Routes

Manifest-driven (public / pre-auth; picked up from /.well-known/seamless-adapter.json, verify they work):

Access routes needing explicit passthroughs (no catch-all proxy; see the seven-file checklist):

Pass through unchanged

Related: #231 (placeholder secrets), #225-#230 (hardening). Ship in the one v0.20 adapter release, before API 0.20.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1NextsafeServes the safe promise: no lockout, no lock-in, honestv0.20Targets the v0.20 release

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions