Skip to content

Test security with JWT #397

@asvanberg

Description

@asvanberg

New suggested tests; authorization decision based on incoming JWT in JWS format.

Potential validations;

  • No JWT -> 401
  • Invalid JWT -> 401
  • Valid JWT but lacking certain claim -> 403
  • Valid JWT with correct claim -> 200 with sub parameter returned
  • All the different standard JWT claims like nbf, exp, and aud.

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsAbout test design, issues with tests etc.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions