Skip to content

Commit e947250

Browse files
authored
Merge pull request #16 from RaspberryPiFoundation/switch-force-login-to-login-options
Switches the force_login param for a more general login_options param
2 parents 4afa3f2 + 875dd9d commit e947250

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.3.0] - 2021-10-14
8+
### Changed
9+
- Replaced force_signup param with a more extensible login_options param
10+
11+
## [1.2.0] - 2021-09-30
12+
### Added
13+
- Added force_signup param to enable passing of custom param to the identity provider
14+
715
## [1.1.0] - 2021-09-10
816
### Added
917
- Changelog in preparation for publishing app to rubygems.org

lib/omniauth-rpi/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module OmniAuth
22
module Rpi
3-
VERSION = '1.2.0'.freeze
3+
VERSION = '1.3.0'.freeze
44
end
55
end

lib/omniauth/strategies/hydra0.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Hydra0 < OmniAuth::Strategies::OAuth2
1010

1111
def authorize_params
1212
super.tap do |params|
13-
%w[scope client_options force_signup].each do |v|
13+
%w[scope client_options login_options].each do |v|
1414
params[v.to_sym] = request.params[v] if request.params[v]
1515
end
1616
end

lib/omniauth/strategies/hydra1.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Hydra1 < OmniAuth::Strategies::OAuth2
1414

1515
def authorize_params
1616
super.tap do |params|
17-
%w[scope client_options force_signup].each do |v|
17+
%w[scope client_options login_options].each do |v|
1818
params[v.to_sym] = request.params[v] if request.params[v]
1919
end
2020
end

0 commit comments

Comments
 (0)