File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
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
+
7
15
## [ 1.1.0] - 2021-09-10
8
16
### Added
9
17
- Changelog in preparation for publishing app to rubygems.org
Original file line number Diff line number Diff line change 1
1
module OmniAuth
2
2
module Rpi
3
- VERSION = '1.2 .0' . freeze
3
+ VERSION = '1.3 .0' . freeze
4
4
end
5
5
end
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class Hydra0 < OmniAuth::Strategies::OAuth2
10
10
11
11
def authorize_params
12
12
super . tap do |params |
13
- %w[ scope client_options force_signup ] . each do |v |
13
+ %w[ scope client_options login_options ] . each do |v |
14
14
params [ v . to_sym ] = request . params [ v ] if request . params [ v ]
15
15
end
16
16
end
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class Hydra1 < OmniAuth::Strategies::OAuth2
14
14
15
15
def authorize_params
16
16
super . tap do |params |
17
- %w[ scope client_options force_signup ] . each do |v |
17
+ %w[ scope client_options login_options ] . each do |v |
18
18
params [ v . to_sym ] = request . params [ v ] if request . params [ v ]
19
19
end
20
20
end
You can’t perform that action at this time.
0 commit comments