Skip to content

Releases: IndominusByte/fastapi-jwt-auth

v0.5.0

06 Nov 11:15
Compare
Choose a tag to compare
  • Support for WebSocket authorization (Thanks to @SelfhostedPro for make issues)
  • Function get_raw_jwt() can pass parameter encoded_token

v0.4.0

02 Nov 08:38
Compare
Choose a tag to compare
  • Support set and unset cookies when returning a Response directly

v0.3.0: Merge pull request #10 from IndominusByte/docs

29 Oct 19:20
c902112
Compare
Choose a tag to compare
  • (Deprecated) environment variable support
  • Change name function load_end() -> load_config()
  • Change name function get_jwt_identity() -> get_jwt_subject()
  • Change name identity claims to standard claims sub (Thanks to @rassie for suggestion)
  • Additional headers in claims
  • Get additional headers claims from request or parsing token directly
  • Leeway exp claim decode token
  • Dynamic token expires time
  • Change name blacklist -> denylist
  • Denylist custom check refresh and access tokens
  • Issuer claim
  • Audience claim
  • Jwt decode algorithms
  • Dynamic algorithm create token
  • Token multiple location
  • Support RSA encryption (Thanks to @jet10000 for make issues)
  • Custom header name and type
  • Custom error message key and status code
  • JWT in cookies (Thanks to @m4nuC for make issues)
  • Add Additional claims
  • Add Documentation (#9 by @paulussimanjuntak)

v0.2.0

07 Oct 11:22
Compare
Choose a tag to compare
  • Call create_token and get_jti function must be from dependency injection
  • Improve blacklist loader
  • Can load env from pydantic
  • Add docs on readme how to use without dependency injection and example on multiple files
  • Fix raise jwt exception PR #1 by @ironslob

v0.1.0

13 Aug 16:14
Compare
Choose a tag to compare
  • Access token and refresh token
  • Token freshness will only allow fresh tokens to access endpoint
  • Token revoking/blacklisting
  • Custom token revoking