The NetBSD Project

CVS log for pkgsrc/security/py-authlib/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / security / py-authlib

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Oct 20 04:50:37 2026 UTC (3 weeks, 5 days ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -1 lines
py-authlib: updated to 1.9.1

1.9.1
Use scriv to handle the changelog

1.9.0
eat: add Identity Assertion JWT Authorization Grant (ID-JAG)
Fix empty signatures validation in JWS JSON deserialization
fix(jose): reject boolean values for NumericDate claims
fix(client): avoid duplicated OAuth 1.0 parameters in signed requests
OAuth2 token fetch crashes with JSONDecodeError instead of a catchable error on rate-limit responses
docs: add i18n wrappers in conf.py and templates
fix(oauth): enforce JOSE key, scope, and audience validation
AsyncOpenIDMixin.parse_id_token: return None when id_token is absent, matching the sync client
fix(oauth): enforce nonce and JAR request validation
fix(oauth): require client authentication for ID-JAG grants

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Sep 2 05:40:20 2026 UTC (2 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -1 lines
py-authlib: updated to 1.8.0

1.8.0

Prefer id_token_signed_response_alg client metadata to guess algs
fix: Catch InvalidKeyIdError in RFC 9068 JWTBearerTokenValidator
fix: make leeway configurable in JWTBearerTokenValidator
feat: add default jti claim to sign_jwt_bearer_assertion
fix(oauth): cast sub claim to string in JWTBearerTokenGenerator
Declare lower bounds for dependencies
feat(client): use httpx2 instead of httpx
Fix RFC7523 malformed claims handling
Fix httpx oauth1 binary form data
fix(starlette_client): remove default= keyword from config.get calls
Added client_id parameter to AssertionClient
fix(oauth): save device credential with authenticated client id
fix(oauth1): correct protocol name in InsecureTransportError description
fix(client): client can be flexible with jwt's header
fix(oidc): omit claims when the value is None

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed May 6 11:01:02 2026 UTC (6 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -1 lines
py-authlib: updated to 1.7.2

1.7.2

Fix the readme links
Allow non-recommended algorithms in ClientSecretJWT and PrivateKey
Validate BCP47 language tags with a regex
Fix RFC7523 signing with non RSA keys

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Apr 23 09:28:39 2026 UTC (6 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +631 -167 lines
py-authlib: updated to 1.7.0

1.7.0

Authorization and token endpoints request empty scope parameter management
Support from Python 3.10 to 3.14
Allow composition of AuthorizationServerMetadata
Make require_oauth parenthesis optional
Fix expires_at behavior when its value is 0
Migration to joserfc
RP-initiated logout
Fix get_jwt_config
chore(ci): Update PyPy version from 3.10 to 3.11
fix: remove "none" from default authlib.jose.jwt algorithms
fix: normalize resolve_client_public_key method
Implement rfc9700 PKCE downgrade countermeasure
Use correct syntax for tox.requires in tox.ini
Set client session User-Agent when fetching server metadata and JWKs
fix: use the real application object for Flask
Accept the issuer URL as a valid audience
Don't nest InvalidTokenError extra attribute
Documentation overhaul
Update README.md docs.authlib.org/en/latest => docs.authlib.org/en/stable
Merge release/1.6 branch

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Apr 23 09:25:05 2026 UTC (6 months, 3 weeks ago) by adam
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +167 -604 lines
py-joserfc: added version 1.6.4

joserfc is a Python library that provides a comprehensive implementation of
several essential JSON Object Signing and Encryption (JOSE) standards.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon May 26 09:37:19 2025 UTC (17 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +22 -1 lines
py-authlib: updated to 1.6.0

1.6.0

Fix issue when RFC9207 is enabled and the authorization endpoint response is not a redirection.
Fix missing state parameter in authorization error responses.
Support for acr and amr claims in id_token.
Support for the none JWS algorithm.
Fix response_types strict order during dynamic client registration.
Implement RFC9101 The OAuth 2.0 Authorization Framework: JWT-Secured Authorization Request (JAR).
OIDC UserInfo endpoint support.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Apr 14 04:59:14 2025 UTC (19 months ago) by adam
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
py-authlib: updated to 1.5.2

1.5.2
Forbid fragments in redirect_uris.
Fix invalid characters in error_description.
Add claims_cls parameter for client's parse_id_token method.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Feb 26 09:09:12 2025 UTC (20 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +13 -1 lines
py-authlib: updated to 1.5.0

1.5.0
- Fix token introspection auth method for clients.
- Optional ``typ`` claim in JWT tokens.
- JWT validation leeway.
- Implement server-side :rfc:`RFC9207 <9207>`.
- ``generate_id_token`` can take a ``kid`` parameter.
- More detailed ``InvalidClientError``.
- OpenID Connect Dynamic Client Registration implementation.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jan 5 12:10:46 2024 UTC (2 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +24 -7 lines
py-authlib: updated to 1.3.0

Version 1.3.0

Bug fixes

Restore AuthorizationServer.create_authorization_response behavior
Include leeway in validate_iat() for JWT
Fix encode_client_secret_basic
Use single key in JWK if JWS does not specify kid
Fix error when RFC9068 JWS has no scope field
Get werkzeug version using importlib

Breaking changes

RFC9068 implementation

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jun 27 11:44:53 2023 UTC (3 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -7 lines
py-authlib: updated to 1.2.1

Version 1.2.1

Released on Jun 25, 2023

Apply headers in ClientSecretJWT.sign method
Allow falsy but non-None grant uri params
Fixed authorize_redirect for Starlette v0.26.0
Removed has_client_secret method and documentation
Removed request_invalid and token_revoked remaining occurences and documentation
Fixed RFC7591 grant_types and response_types default values

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 14 09:06:36 2022 UTC (4 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +73 -55 lines
py-authlib: updated to 1.1.0

Version 1.1.0

This release contains breaking changes and security fixes.

Allow to pass claims_options to Framework OpenID Connect clients.
Fix .stream with context for HTTPX OAuth clients.
Fix Starlette OAuth client for cache store.

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: CVE-2022-39175 and CVE-2022-39174, both related to JOSE.


Version 1.0.1

Fix authenticate_none method.
Allow to pass in alternative signing algorithm to RFC7523 authentication methods.
Fix missing_token for Flask OAuth client.
Allow openid in any place of the scope.
Security fix for validating essential value on blank value in JWT.


Version 1.0.0

We have dropped support for Python 2 in this release. We have removed built-in SQLAlchemy integration.

OAuth Client Changes:

The whole framework client integrations have been restructured, if you are using the client properly, e.g. oauth.register(...), it would work as before.

OAuth Provider Changes:

In Flask OAuth 2.0 provider, we have removed the deprecated OAUTH2_JWT_XXX configuration, instead, developers should define .get_jwt_config on OpenID extensions and grant types.

SQLAlchemy integrations has been removed from Authlib. Developers should define the database by themselves.

JOSE Changes

JWS has been renamed to JsonWebSignature
JWE has been renamed to JsonWebEncryption
JWK has been renamed to JsonWebKey
JWT has been renamed to JsonWebToken
The "Key" model has been re-designed, checkout the :ref:`jwk_guide` for updates.

Added ES256K algorithm for JWS and JWT.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 15 13:46:35 2020 UTC (6 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +7 -1 lines
py-authlib: updated to 0.15.1

Version 0.15.1
Backward compitable fix for using JWKs in JWT

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Oct 10 18:04:52 2020 UTC (6 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +49 -259 lines
py-authlib: updated to 0.15

Version 0.15

This is the last release before v1.0. In this release, we added more RFCs
implementations and did some refactors for JOSE:

RFC8037: CFRG Elliptic Curve Diffie-Hellman (ECDH) and Signatures in JSON Object Signing and Encryption (JOSE)
RFC7638: JSON Web Key (JWK) Thumbprint

We also fixed bugs for integrations:

Fixed support for HTTPX>=0.14.3
Added OAuth clients of HTTPX back
Fixed parallel token refreshes for HTTPX async OAuth 2 client
Raise OAuthError when callback contains errors

Breaking Change:

The parameter algorithms in JsonWebSignature and JsonWebEncryption
are changed. Usually you don't have to care about it since you won't use it directly.
Whole JSON Web Key is refactored, please check JSON Web Key (JWK)

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Jun 11 14:24:49 2020 UTC (6 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
py-authlib: added version 0.9.1

OAuth often seems complicated and difficult-to-implement. There are several
prominent libraries for handling OAuth requests, but they all suffer from one
or both of the following:

  *  They predate the OAuth 1.0 spec, AKA RFC 5849.
  *  They predate the OAuth 2.0 spec, AKA RFC 6749.
  *  They assume the usage of a specific HTTP request library.

OAuthLib is a generic utility which implements the logic of OAuth without
assuming a specific HTTP request object or web framework. Use it to graft OAuth
client support onto your favorite HTTP library, or provider support onto your
favourite web framework. If you're a maintainer of such a library, write a thin
veneer on top of OAuthLib and get OAuth support for very little effort.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>