Releases: lepture/authlib
Releases · lepture/authlib
Version 1.5.0
- Fix token introspection auth method for clients. #662
- Optional typ claim in JWT tokens. #696
- JWT validation leeway. #689
- Implement server-side RFC9207. #700 #701
- generate_id_token can take a kid parameter. #702
- More detailed InvalidClientError. #706
- OpenID Connect Dynamic Client Registration implementation. #707
Version 1.4.1
Version 1.4.0
Version 1.3.2
- Prevent ever-growing session size for OAuth clients.
- Revert
quote
client id and secret. unquote
basic auth header for authorization server.
Version 1.3.1
Prevent OctKey
to import ssh and PEM strings.
Version 1.3.0
Bug fixes
- Restore AuthorizationServer.create_authorization_response behavior, via #558 by @TurnrDev
- Include leeway in validate_iat() for JWT, via #565 by @dhallam
- Fix encode_client_secret_basic, via #594 by @Prilkop
- Use single key in JWK if JWS does not specify kid, via #596 by @dklimpel
- Fix error when RFC9068 JWS has no scope field, via #598 by @tanguilp
- Get werkzeug version using importlib, via #591 by @Sparrow0hawk
Breaking changes
Version 1.2.1
- Apply headers in
ClientSecretJWT.sign
method, via #552 - Allow falsy but non-None grant uri params, via #544
- Fixed
authorize_redirect
for Starlette v0.26.0, via #533 - Removed
has_client_secret
method and documentation, via #513 - Removed
request_invalid
andtoken_revoked
remaining occurences
and documentation. #514 - Fixed RFC7591
grant_types
andresponse_types
default values, via #509 - Add support for python 3.12, via #590
Version 1.2.0
- Not passing
request.body
toResourceProtector
, #485. - Use
flask.g
instead of_app_ctx_stack
, #482. - Add
headers
parameter back toClientSecretJWT
, #457. - Always passing
realm
parameter in OAuth 1 clients, #339. - Implemented RFC7592 Dynamic Client Registration Management Protocol, #505`
- Add
default_timeout
for requestsOAuth2Session
andAssertionSession
. - Deprecate
jwk.loads
andjwk.dumps
Version 1.1.0
This release contains breaking changes and security fixes.
- Allow to pass
claims_options
to Framework OpenID Connect clients, via #446 by @Galaxy102 - Fix
.stream
with context for HTTPX OAuth clients, via #465 by @bjoernmeier - Fix Starlette OAuth client for cache store, via #478 by @haggen
Breaking changes:
- Raise
InvalidGrantError
for invalid code, redirect_uri and no user errors in OAuth 2.0 server. - The default
authlib.jose.jwt
would only work with JSON Web Signature algorithms, if you would like to use JWT with JWE algorithms, please pass the algorithms parameter:
jwt = JsonWebToken(['A128KW', 'A128GCM', 'DEF'])
Security fixes for JOSE module
- CVE-2022-39175
- CVE-2022-39174
Version 1.0.1
- Fix
authenticate_none
method, via #438. - Allow to pass in alternative signing algorithm to RFC7523 authentication methods via #447.
- Fix
missing_token
for Flask OAuth client, via #448. - Allow
openid
in any place of the scope, via #449. - Security fix for validating essential value on blank value in JWT, via #445.