omniauth-edlink 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/omniauth/edlink/version.rb +1 -1
- data/lib/omniauth/strategies/edlink.rb +5 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10539216013316ade8d1e23d6e7e7b13069533671cee87a74864d3db287a2fc3
|
4
|
+
data.tar.gz: 78c258074dacc027dabab6a886e771858f93c34ce73fab324d38455d71f0aec3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a92ccf04ecf4199790f3f133450ff3eb43bcc8e094c4915c22842292591171580117e870903c4dd84fb93d2a14ec7bdd20f6a599003a53c16ae700dba3ae655b
|
7
|
+
data.tar.gz: b5d2c321f0780fb7f5b4775c10c01da1b148ff52b3fe4b1fa7b5ff07c00b04e01bd9467bebbfb8209492468838b466ac2ff8cf89a407ba3ba4469f0b751f38fd
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## 0.3.0
|
5
|
+
|
6
|
+
* Bugfix for generating a redirect to generic login page (without integration_id)
|
7
|
+
* Skip state validation, because state param is removed by Edlink anyway.
|
8
|
+
|
4
9
|
## 0.2.0
|
5
10
|
|
6
11
|
* Support optional integration_id parameter that redirect users directly to IdP login page.
|
@@ -21,6 +21,8 @@ module OmniAuth
|
|
21
21
|
access_token_class: AccessToken
|
22
22
|
}
|
23
23
|
option :uid_field, 'id'
|
24
|
+
# `state` injected during the request phase is lost by Edlink, you don't get it in the callback phase.
|
25
|
+
option :provider_ignores_state, true
|
24
26
|
|
25
27
|
uid do
|
26
28
|
raw_info[options.uid_field.to_s]
|
@@ -33,10 +35,9 @@ module OmniAuth
|
|
33
35
|
end
|
34
36
|
|
35
37
|
def authorize_params
|
36
|
-
super
|
37
|
-
|
38
|
-
|
39
|
-
end
|
38
|
+
super
|
39
|
+
.merge({ :redirect_uri => callback_url })
|
40
|
+
.merge(client.auth_code.authorize_params)
|
40
41
|
end
|
41
42
|
|
42
43
|
info do
|