Skip to content

Releases: doorkeeper-gem/doorkeeper

v.5.9.0

04 Mar 12:04
6cf6c52

Choose a tag to compare

  • [#1791] Add support for Rails read replicas with automatic role switching via enable_multiple_database_roles configuration option
  • [#1792] Consider expires_in when clear expired tokens with StaleRecordsCleaner.
  • [#1790] Fix race condition in refresh token revocation check by moving InvalidGrantReuse check inside the lock block
  • [#1788] Fix regex for basic auth to be case-insensitive
  • [#1775] Fix Applications Secret Not Null Constraint generator
  • [#1779] Only lock previous access token model when creating a new token from its refresh token if revoke_previous_refresh_token_on_use is false
  • [#1778] Ensure that token revocation is idempotent by checking that that token has not already been revoked before revoking.

v5.8.2

04 Apr 08:29
b305358

Choose a tag to compare

  • [#1755] Fix the error message for force_pkce
  • [#1761] Memoize authentication failure
  • [#1762] Allow missing client to trigger invalid client error when force_pkce is enabled
  • [#1767] Make sure error handling happens on a controller level opposed to action level to account for the controller being extended

v5.8.1

09 Dec 07:54
0f0b6aa

Choose a tag to compare

  • [#1752] Bump the range of supported Ruby and Rails versions
  • [#1747] Fix unknown pkce method error when configured
  • [#1744] Allow for expired refresh tokens to be revoked
  • [#1754] Fix refresh tokens with dynamic scopes

v5.8.0

31 Oct 07:55
be58d6b

Choose a tag to compare

  • [#1739] Add support for dynamic scopes
  • [#1715] Fix token introspection invalid request reason
  • [#1714] Fix Doorkeeper::AccessToken.find_or_create_for with empty scopes which raises NoMethodError
  • [#1712] Add Pragma: no-cache to token response
  • [#1726] Refactor token introspection class.
  • [#1727] Allow to set null secret value for Applications if they are public.
  • [#1735] Add pkce_code_challenge_methods config option.

v5.7.1

25 Jun 14:54
1cd750b

Choose a tag to compare

  • [#1705] Add force_pkce option that requires non-confidential clients to use PKCE when requesting an access_token using an authorization code

v5.7.0

24 Apr 10:44
8626b85

Choose a tag to compare

  • [#1696] Add missing #issued_token method to OAuth::TokenResponse
  • [#1697] Allow a TokenResponse body to be customized (memoize response body).
  • [#1702] Fix bugs for error response in the form_post and error view
  • [#1660] Custom access token attributes are now considered when finding matching tokens (fixes #1665). Introduce revoke_previous_client_credentials_token configuration option.

v5.6.9

14 Feb 08:01
70e793b

Choose a tag to compare

  • [#1691] Make new Doorkeeper errors backward compatible with older extensions.

v5.6.8

01 Dec 16:03
c48fd2d

Choose a tag to compare

  • [#1680] Fix handle_auth_errors :raise NotImplementedError

v5.6.7

23 Nov 07:57
6692812

Choose a tag to compare

  • [#1662] Specify uri_redirect validation class explicitly.
  • [#1652] Add custom attributes support to token generator.
  • [#1667] Pass client instead of grant.application to find_or_create_access_token.
  • [#1673] Honor custom_access_token_attributes in client credentials grant flow.
  • [#1676] Improve AuthorizationsController error response handling
  • [#1677] Fix URIHelper.valid_for_authorization? breaking for non url URIs.

v5.6.6

29 Mar 07:20
986115c

Choose a tag to compare

  • [#1644] Update HTTP headers.
  • [#1646] Block public clients automatic authorization skip.
  • [#1648] Add custom token attributes to Refresh Token Request.
  • [#1649] Fixed custom_access_token_attributes related errors.