Skip to content

build(deps): bump doorkeeper-openid_connect from 1.10.5 to 2.1.0 - #397

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/doorkeeper-openid_connect-2.1.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/doorkeeper-openid_connect-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps doorkeeper-openid_connect from 1.10.5 to 2.1.0.

Release notes

Sourced from doorkeeper-openid_connect's releases.

v2.1.0

  • #401 Fix max_age reauthentication loop when auth_time_from_session returns a String — parse it as a timestamp instead of falling through to to_i (same class of bug as #248) — and treat a future auth_time as stale (60 s clock-skew leeway)
  • #407 Prepend AuthorizationsExtension and MetadataExtension when Zeitwerk loads Doorkeeper::AuthorizationsController and Doorkeeper::MetadataController, instead of from to_prepare. Naming the controllers in to_prepare autoloaded them on every boot, together with Doorkeeper::ApplicationController and, through its default ActionController::Base superclass, every helper in the host application
    • This gem no longer loads ActionController::Base during boot, so an Action Controller load hook that names an application constant such as ApplicationController should move to config.to_prepare
  • #408 Drop the ostruct runtime dependency (#210, added in #218). Doorkeeper::OpenidConnect.configuration.claims is now a Hash keyed by Symbol claim name instead of an OpenStruct. The OpenStruct-only forms (claims.nickname, claims.nickname = ..., String keys in [], []= and dig, and delete_field) still work but print a deprecation warning and will be removed in the next major version; use claims[:nickname].
  • #402 Fix a boot failure (MissingConfiguration) when the access grant model loads before Doorkeeper::OpenidConnect.configure — e.g. from an initializer sorting between doorkeeper.rb and doorkeeper_openid_connect.rb (regression since v1.10.3)

v2.0.0

  • Security: Register a dynamically registered client with the server's default_scopes when the registration request omits scope, instead of persisting an empty scope set. Only deployments that enable dynamic_client_registration are affected.
  • #364 Breaking: Require id_token_class / user_info_class overrides to inherit from Doorkeeper::OpenidConnect::IdToken / UserInfo (#344). Adds an IdToken#select_key hook returning the signing key and its algorithm together (IdToken::SigningKey) for per-client, rotating or multi-tenant keys, and binds the at_hash digest to that algorithm (OIDC Core §3.2.2.10) rather than the global signing_algorithm
  • #387 Breaking: Remove the deprecated jws_private_key and jws_public_key initializer settings
  • #399 Breaking: Rename Doorkeeper::OpenidConnect::HybridIdTokenConcern to AtHashConcern. The old name described the id_token token response type as a hybrid flow, but OpenID Connect Core defines that response type under the Implicit Flow (§3.2) — the Hybrid Flow response types of §3.3 are not implemented by this gem. Removed without an alias: the constant only ever shipped in 2.0.0.beta1

v2.0.0.beta1

[!IMPORTANT]

  • This is a prerelease. RubyGems does not resolve prereleases from an unqualified requirement, so it must be requested explicitly: gem "doorkeeper-openid_connect", "2.0.0.beta1"
  • Migration required: existing installations must add the post_logout_redirect_uris column — rails generate doorkeeper:openid_connect:add_post_logout_redirect_uris followed by rails db:migrate (#243)
  • Breaking (hybrid response type): the id_token token response object is now the configured id_token_class extended with HybridIdTokenConcern, and a custom id_token_class must expose an #access_token reader (#337)
  • Breaking (constant removed): Doorkeeper::OpenidConnect::IdTokenToken is gone — custom subclasses must subclass IdToken and include HybridIdTokenConcern (#338)
  • Breaking (Dynamic Client Registration): a registration request that omits response_types / grant_types now defaults to ["code"] / ["authorization_code"] per RFC 7591 §2, instead of inheriting the server's global configuration (#350)

Migration from Old Versions walks through each one.

  • #243 Add per-client post_logout_redirect_uris for RP-Initiated Logout, exposed via Doorkeeper::Application#post_logout_redirect_uris and #valid_post_logout_redirect_uri?(uri). URIs are validated with the same rules as redirect_uri; Dynamic Client Registration accepts and echoes them back
  • #320 Support mounting the engine under multiple named scopes — use_doorkeeper_openid_connect as: :users makes each mount's discovery document advertise its own endpoints (#192)
  • #322 Fall back to Doorkeeper's issuer configuration when the OpenID Connect issuer is not set. The OpenID Connect value still takes precedence (#321)
  • #323 Resolve token_endpoint_auth_methods_supported from Doorkeeper's client authentication methods registry when available, falling back to legacy client_credentials_methods on older versions
  • #332 Fix grant_types_supported listing refresh_token twice when enabled via both grant_flows and use_refresh_token
  • #333 Emit the RFC 9207 iss parameter on id_token / id_token token authorization responses and on OIDC error redirects, and advertise authorization_response_iss_parameter_supported in the discovery document. No behavior change until Doorkeeper is configured with an issuer
  • #334 Allow Doorkeeper 6.0 (>= 5.5, < 7.0). Note: Doorkeeper 6.0's force_pkce applies to confidential clients too — id_token / id_token token authorization requests are rejected unless they carry a code_challenge
  • #335 Add id_token_class and user_info_class config options for custom ID Token / UserInfo response objects
  • #337 Rework id_token_class / user_info_class internals — lazy-resolve and validate configured classes at first use (fixes zeitwerk on Rails 7+) — and deprecate Doorkeeper::OpenidConnect::IdTokenToken. A custom id_token_class must now expose an #access_token reader. Breaking (type change): the hybrid response token is now the configured id_token_class extended with HybridIdTokenConcern — see the migration guide
  • #338 Breaking: Remove the deprecated IdTokenToken class. Custom subclasses must subclass IdToken and include HybridIdTokenConcern instead
  • #341 Fix dynamic client registration to respect the application_class configuration
  • #347 Omit symmetric (oct) keys from the JWKS endpoint when signing with an HMAC algorithm (RFC 7517)
  • #348 Authorization endpoint hardening:
    • Treat a malformed max_age parameter (e.g. max_age[]=1) as absent instead of a 500
    • Build prompt=login / prompt=select_account return URLs without mutating the shared request.query_parameters hash
    • Route internal errors (e.g. InvalidConfiguration) to a 500 instead of leaking them as authorization error redirects
  • #349 Fix several 500 errors in the claims pipeline: gracefully omit id_token when the access token has no resource owner, no application, or an owner that no longer resolves; return 401 invalid_token at userinfo for the same cases. Also dispatch claims whose response: option is configured with strings (e.g. response: ["id_token"]), which were previously dropped from every response
  • #350 Discovery / Dynamic Client Registration spec compliance:
    • Advertise the standard implicit grant type instead of the internal implicit_oidc name (RFC 7591 §2)
    • Breaking: omitted response_types / grant_types in a registration request now default to ["code"] / ["authorization_code"] per RFC 7591 §2
    • Use RFC 7591 §3.2.2 error codes (invalid_redirect_uri / invalid_client_metadata) instead of the invented invalid_client_params
    • Serve WebFinger as application/jrd+json with Access-Control-Allow-Origin: * (RFC 7033)
    • Create dynamically registered clients through application_model so custom models work with DCR
  • #351 Align OpenID Connect token/authorization responses with Doorkeeper's response contract: return the plaintext access token from the id_token token implicit response (fixes hash_token_secrets), define #issued_token on OIDC responses, and attach the ID token before after_successful_strategy_response fires
  • #353 Enrich Doorkeeper 6.0's RFC 8414 metadata document (/.well-known/oauth-authorization-server) with the OpenID Connect fields (jwks_uri, userinfo_endpoint, signing algs, claims) via the custom_metadata seam; app-configured custom_metadata keeps precedence. No behavior change on Doorkeeper < 6.0
  • #355 Compute at_hash from the plaintext access token instead of the stored value, fixing ID Token validation when hash_token_secrets is enabled

... (truncated)

Changelog

Sourced from doorkeeper-openid_connect's changelog.

v2.1.0 (2026-10-20)

  • #401 Fix max_age reauthentication loop when auth_time_from_session returns a String — parse it as a timestamp instead of falling through to to_i (same class of bug as #248) — and treat a future auth_time as stale (60 s clock-skew leeway)
  • #407 Prepend AuthorizationsExtension and MetadataExtension when Zeitwerk loads Doorkeeper::AuthorizationsController and Doorkeeper::MetadataController, instead of from to_prepare. Naming the controllers in to_prepare autoloaded them on every boot, together with Doorkeeper::ApplicationController and, through its default ActionController::Base superclass, every helper in the host application
    • This gem no longer loads ActionController::Base during boot, so an Action Controller load hook that names an application constant such as ApplicationController should move to config.to_prepare
  • #408 Drop the ostruct runtime dependency (#210, added in #218). Doorkeeper::OpenidConnect.configuration.claims is now a Hash keyed by Symbol claim name instead of an OpenStruct. The OpenStruct-only forms (claims.nickname, claims.nickname = ..., String keys in [], []= and dig, and delete_field) still work but print a deprecation warning and will be removed in the next major version; use claims[:nickname].
  • #402 Fix a boot failure (MissingConfiguration) when the access grant model loads before Doorkeeper::OpenidConnect.configure — e.g. from an initializer sorting between doorkeeper.rb and doorkeeper_openid_connect.rb (regression since v1.10.3)

v2.0.0 (2026-09-22)

[!IMPORTANT]

  • Breaking (class overrides): a configured id_token_class / user_info_class must now inherit from Doorkeeper::OpenidConnect::IdToken / UserInfo (#364)
  • Breaking (settings removed): the deprecated jws_private_key / jws_public_key initializer settings are gone (#387)
  • Breaking (constant renamed): Doorkeeper::OpenidConnect::HybridIdTokenConcern is now AtHashConcern, with no alias for the old name (#399)

Coming from 1.10.x? Every breaking change listed under 2.0.0.beta1 below applies as well — the post_logout_redirect_uris migration (#243), the id_token token response type change (#337), the removal of IdTokenToken (#338) and the Dynamic Client Registration defaults (#350). Those notes name HybridIdTokenConcern; read them as AtHashConcern, which is what 2.0.0 ships.

Migration from Old Versions walks through each one.

  • Security: Register a dynamically registered client with the server's default_scopes when the registration request omits scope, instead of persisting an empty scope set. Only deployments that enable dynamic_client_registration are affected.
  • #364 Breaking: Require id_token_class / user_info_class overrides to inherit from Doorkeeper::OpenidConnect::IdToken / UserInfo (#344). Adds an IdToken#select_key hook returning the signing key and its algorithm together (IdToken::SigningKey) for per-client, rotating or multi-tenant keys, and binds the at_hash digest to that algorithm (OIDC Core §3.2.2.10) rather than the global signing_algorithm
  • #387 Breaking: Remove the deprecated jws_private_key and jws_public_key initializer settings
  • #399 Breaking: Rename Doorkeeper::OpenidConnect::HybridIdTokenConcern to AtHashConcern. The old name described the id_token token response type as a hybrid flow, but OpenID Connect Core defines that response type under the Implicit Flow (§3.2) — the Hybrid Flow response types of §3.3 are not implemented by this gem. Removed without an alias: the constant only ever shipped in 2.0.0.beta1

v2.0.0.beta1 (2026-08-20)

[!IMPORTANT]

  • This is a prerelease. RubyGems does not resolve prereleases from an unqualified requirement, so it must be requested explicitly: gem "doorkeeper-openid_connect", "2.0.0.beta1"
  • Migration required: existing installations must add the post_logout_redirect_uris column — rails generate doorkeeper:openid_connect:add_post_logout_redirect_uris followed by rails db:migrate (#243)
  • Breaking (hybrid response type): the id_token token response object is now the configured id_token_class extended with HybridIdTokenConcern, and a custom id_token_class must expose an #access_token reader (#337)
  • Breaking (constant removed): Doorkeeper::OpenidConnect::IdTokenToken is gone — custom subclasses must subclass IdToken and include HybridIdTokenConcern (#338)
  • Breaking (Dynamic Client Registration): a registration request that omits response_types / grant_types now defaults to ["code"] / ["authorization_code"] per RFC 7591 §2, instead of inheriting the server's global configuration (#350)

Migration from Old Versions walks through each one.

  • #243 Add per-client post_logout_redirect_uris for RP-Initiated Logout, exposed via Doorkeeper::Application#post_logout_redirect_uris and #valid_post_logout_redirect_uri?(uri). URIs are validated with the same rules as redirect_uri; Dynamic Client Registration accepts and echoes them back
  • #320 Support mounting the engine under multiple named scopes — use_doorkeeper_openid_connect as: :users makes each mount's discovery document advertise its own endpoints (#192)
  • #322 Fall back to Doorkeeper's issuer configuration when the OpenID Connect issuer is not set. The OpenID Connect value still takes precedence (#321)
  • #323 Resolve token_endpoint_auth_methods_supported from Doorkeeper's client authentication methods registry when available, falling back to legacy client_credentials_methods on older versions
  • #332 Fix grant_types_supported listing refresh_token twice when enabled via both grant_flows and use_refresh_token
  • #333 Emit the RFC 9207 iss parameter on id_token / id_token token authorization responses and on OIDC error redirects, and advertise authorization_response_iss_parameter_supported in the discovery document. No behavior change until Doorkeeper is configured with an issuer
  • #334 Allow Doorkeeper 6.0 (>= 5.5, < 7.0). Note: Doorkeeper 6.0's force_pkce applies to confidential clients too — id_token / id_token token authorization requests are rejected unless they carry a code_challenge
  • #335 Add id_token_class and user_info_class config options for custom ID Token / UserInfo response objects
  • #337 Rework id_token_class / user_info_class internals — lazy-resolve and validate configured classes at first use (fixes zeitwerk on Rails 7+) — and deprecate Doorkeeper::OpenidConnect::IdTokenToken. A custom id_token_class must now expose an #access_token reader. Breaking (type change): the hybrid response token is now the configured id_token_class extended with HybridIdTokenConcern — see the migration guide
  • #338 Breaking: Remove the deprecated IdTokenToken class. Custom subclasses must subclass IdToken and include HybridIdTokenConcern instead
  • #341 Fix dynamic client registration to respect the application_class configuration
  • #347 Omit symmetric (oct) keys from the JWKS endpoint when signing with an HMAC algorithm (RFC 7517)
  • #348 Authorization endpoint hardening:

... (truncated)

Commits
  • 8d7962b Merge pull request #413 from doorkeeper-gem/prepare-2.1.0
  • 5ed197d Release 2.1.0 🎉
  • e280bac Merge pull request #402 from doorkeeper-gem/fix/grant-boot-before-configure
  • c05aceb Merge pull request #412 from doorkeeper-gem/test/controller-extensions-lazy-l...
  • c2f20cd Merge pull request #411 from doorkeeper-gem/docs/407-changelog-boot-side-effect
  • 5cd6cb2 Assert the controller extensions are prepended on autoload, not at boot
  • 6394519 Note in the CHANGELOG that the gem no longer loads ActionController::Base at ...
  • b793434 Merge pull request #401 from doorkeeper-gem/fix/auth-time-string-from-json-se...
  • f8d1142 Merge pull request #408 from corsonknowles/claims-hash-deprecation
  • a7aeb5e Merge pull request #410 from doorkeeper-gem/dependabot/github_actions/actions...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Nov 20, 2026
@socket-security

socket-security Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgem/​doorkeeper-openid_connect@​1.10.5 ⏵ 2.1.099100100100100

View full report

Bumps [doorkeeper-openid_connect](https://github.com/doorkeeper-gem/doorkeeper-openid_connect) from 1.10.5 to 2.1.0.
- [Release notes](https://github.com/doorkeeper-gem/doorkeeper-openid_connect/releases)
- [Changelog](https://github.com/doorkeeper-gem/doorkeeper-openid_connect/blob/master/CHANGELOG.md)
- [Commits](doorkeeper-gem/doorkeeper-openid_connect@v1.10.5...v2.1.0)

---
updated-dependencies:
- dependency-name: doorkeeper-openid_connect
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title build(deps): bump doorkeeper-openid_connect from 1.8.11 to 2.1.0 build(deps): bump doorkeeper-openid_connect from 1.10.5 to 2.1.0 Nov 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bundler/doorkeeper-openid_connect-2.1.0 branch from 8683cb0 to e34a1fc Compare November 23, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants