Skip to content

Latest commit

 

History

History
132 lines (82 loc) · 4.44 KB

CHANGELOG.md

File metadata and controls

132 lines (82 loc) · 4.44 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Test controller/view to allow apps to log in without having to interact with the RPF Global Nav component. (#70)

Added

Removed

Added

  • Add country attribute to Authenticable (#60)

Added

  • Allow for customisation of returnTo param on log out (#56)
  • Allow success_redirect to be configured as a block that is executed in the context of the AuthController (#57)

Changed

  • Altered default value of the issuer to track the authorization_endpoint rather than the token_endpoint (#54)

Fixed

  • Ensure redirect_uri is set in the OpenID Connect configuration (#53)

Changed

Added

  • Added dummy route for /auth/rpi to add path helper rpi_auth_login (#44)
  • Request and routing specs inside the "dummy" testing app (#44)

Changed

  • Refactored RpiAuth::AuthenticationHelper into a concern RpiAuth::Controllers::CurrentUser (#44)
  • Refactored RpiAuth::Models::Authenticatable to fix "include"/"extend" issues (#44)
  • Refactored RpiAuth::AuthController#callback to reduce its complexity (#44)
  • Refactored how auth bypass is enabled (#44)
  • OmniAuth origin parameter name set as returnTo (#47)

Updated

  • Bump rack from 2.2.4 to 2.2.7 (#49)
  • Bump globalid from 1.0.0 to 1.1.0 (#48)

Added

  • The brand parameter can now optionally be set (for use by the Profile application)

Added

  • Make RpiAuth::Models::Authenticatable extendable to support additional methods and attributes in the user_model.

Added

  • Removed default setting of success_redirect = '/' in RpiAuth config

Added

  • omniauth-rpi gem updated to fix nil user ID in returned user object
  • Defaults to setting the user_id param on the model rather than id (so that the application can use an internal ID structure for the user model).
  • Updates Omniauth-rpi to latest version (fixing a bug where the returbed uid was empty)

Added

  • Rails 7 / Ruby 3.1 support (these are the only officially supported versions)
  • omniauth-rpi strategy to auth via Hydra1
  • include omniauth rails csrf protection
  • configuration to allow setting endpoints and credentials for auth
  • rails model concern to allow host app to add auth behaviour to a model
  • callback, logout and failure routes to handle auth