Skip to content

Releases: simplificator/keycloak_oauth

v2.0.2

03 Jan 09:11
Compare
Choose a tag to compare

Added

  • Support for Ruby 3.2 and 3.3
  • Support for Rails 7.1

Changed

  • Extracted KeycloakOauth::DuplicationError into a separate file to please the Zeitwerk loader.
  • Use require_relative for load gem-internal files.

v2.0.1

20 Jun 13:23
5f4798c
Compare
Choose a tag to compare

Changed

  • Extracted KeycloakOauth::NotFoundError and KeycloakOauth::AuthorizableError into separate file. When using Zeitwerk code loader in your main application, it was sometimes unable to find these classes.

v2.0.0

14 Jun 07:29
6a910eb
Compare
Choose a tag to compare

Breaking

  • To avoid confusion what kind of token will be requested from Keycloak, we renamed KeycloakOauth::PostTokenService to KeycloakOauth::PostAuthorizationCodeService.
  • Rails' default_url_options are required to be configured.

Added

  • New service named KeycloakOauth::PostRefreshTokenService to request a new access token with a refresh token.
  • Expiration of both the refresh and access token will be written to the session. You can retrieve them by calling session[:access_token_expires_at] or session[:refresh_token_expires_at] in your controller.

Changed

  • The default redirection url for a successful login has been changed from / to the root_path of your app.