Ruby on Rails integration with the Keycloak identity and access management API.
MIT License
KeycloakOauth::DuplicationError
into a separate file to please the Zeitwerk loader.require_relative
for load gem-internal files.Published by andyundso over 2 years ago
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.Published by andyundso over 2 years ago
KeycloakOauth::PostTokenService
to KeycloakOauth::PostAuthorizationCodeService
.default_url_options
are required to be configured.KeycloakOauth::PostRefreshTokenService
to request a new access token with a refresh token.session[:access_token_expires_at]
or session[:refresh_token_expires_at]
in your controller./
to the root_path
of your app.