Up to [cvs.NetBSD.org] / pkgsrc / security / py-authlib
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
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
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
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
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
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.
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.
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.
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.
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
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
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.
py-authlib: updated to 0.15.1 Version 0.15.1 Backward compitable fix for using JWKs in JWT
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)
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.