omniauth-orcid 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/orcid/version.rb +1 -1
- data/lib/omniauth/strategies/orcid.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f376bf7ee0e699cd704fcd407f340ba156bce01d
|
4
|
+
data.tar.gz: 5b02fed57abd72428052dff86d675623d33b074b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e62646b99abdcba22cb74df26164c7001f9f7d31a38244991037dcd97e3413b0330c279e43013f426caef16f714ef6f649ac730d1bd4229a7abfa1dd3bd70e4b
|
7
|
+
data.tar.gz: fee4504db9925636b32b32cb7b8f0ba62b79f3eda580e198c888af707cb09619a1dbe39c160d42b9ce9a1610abc580a862266660d99bdc8bfd1e9f8b8ef4202b
|
@@ -11,11 +11,12 @@ module OmniAuth
|
|
11
11
|
|
12
12
|
option :name, "orcid"
|
13
13
|
|
14
|
+
option :authorize_options, [:redirect_uri]
|
15
|
+
|
14
16
|
option :client_options, {
|
15
17
|
site: 'https://pub.orcid.org',
|
16
18
|
authorize_url: 'https://orcid.org/oauth/authorize',
|
17
|
-
scope: '/authenticate'
|
18
|
-
request_uri: options[:request_uri]
|
19
|
+
scope: '/authenticate'
|
19
20
|
}
|
20
21
|
|
21
22
|
def authorize_params
|