Skip to content

JWT and JWKS conformance tests for Supabase requirements #109

Description

@pataniaeli

Ticket: AUTH-T97 · Epic: E13 Testing & QA · Phase: Phase 2 — Admin, Primary Admin, positions, UI, SDK, VaultZ
Priority: Medium · Estimate: 2 points · Labels: epic:testing, phase:2, testing, jwt, supabase

Depends on:

Tests: token verifies with jose via remote JWKS; header has alg: ES256 and kid; claims include uuid sub, role: 'authenticated', iss, aud, exp - iat ≤ 600; discovery document is valid; rotation keeps the old key in the JWKS for the grace period; token endpoint rejects missing/revoked sessions.

Acceptance criteria

  • Conformance suite green; a checklist in the Supabase guide references these tests.

Generated from the SGAuth design (docs/sgauth-design in SGAOperations/auth). SGAuth is built on Neon and does not use Supabase.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions