Skip to content

feat: JWT route options iss, aud, leeway (P1 #6) - #28

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
feat/jwt-iss-aud-leeway
Apr 26, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
feat/jwt-iss-aud-leeway

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member
  • RouteEntry and add_route: jwt_issuer, jwt_audience, optional jwt_leeway (default 60s)
  • dispatch: Validation leeway, set_issuer, set_audience; validate_aud off when no audience
  • App decorators: jwt_issuer, jwt_audience, jwt_leeway
  • tests: oxyjwt ASGI tokens good/wrong iss and aud → 200/401
  • docs/jwt.md

- RouteEntry and add_route: jwt_issuer, jwt_audience, optional jwt_leeway (default 60s)
- dispatch: Validation leeway, set_issuer, set_audience; validate_aud off when no audience
- App decorators: jwt_issuer, jwt_audience, jwt_leeway
- tests: oxyjwt ASGI tokens good/wrong iss and aud → 200/401
- docs/jwt.md
@ZhuchkaTriplesix ZhuchkaTriplesix self-assigned this Apr 26, 2026

@ZhuchkaTriplesix ZhuchkaTriplesix left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

123

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit e532c47 into dev Apr 26, 2026
15 checks passed
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the feat/jwt-iss-aud-leeway branch April 26, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant