keycloak_oauth

Ruby on Rails integration with the Keycloak identity and access management API.

MIT License

Downloads
30K
Stars
7
Committers
8

Bot releases are hidden (Show)

keycloak_oauth - v2.0.2 Latest Release

Published by andyundso 10 months ago

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.
keycloak_oauth - v2.0.1

Published by andyundso over 2 years ago

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.
keycloak_oauth - v2.0.0

Published by andyundso over 2 years ago

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.