omniauth-orcid 1.0.7 → 1.0.8
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 +2 -3
- 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: bf6e9f5ba1c3af8800bbd1a0ad8171f49906edb0
|
4
|
+
data.tar.gz: 5e0b3e56bd3be1c037ed1e2e73bd5862d9e2c632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1327176a3bfd3a3bd2260d884ab133307a9ff4eab635a5c4b15bb0d9dfbd6b0efc4bc0a2a7a5952484e791cf90d6bffb8ce90cdc198f02168ac174a9dc101bff
|
7
|
+
data.tar.gz: 34a62f86d4bae244fa6d72de6920f06e46116b10a03c507da7c44cde0917709a942a6e3252cafe97301376caa7cf0faaaa3adebecfd48f8309bb349b0451cba0
|
@@ -11,12 +11,11 @@ module OmniAuth
|
|
11
11
|
|
12
12
|
option :name, "orcid"
|
13
13
|
|
14
|
-
option :authorize_options, [:redirect_uri]
|
14
|
+
option :authorize_options, [:redirect_uri, :scope]
|
15
15
|
|
16
16
|
option :client_options, {
|
17
17
|
site: 'https://pub.orcid.org',
|
18
|
-
authorize_url: 'https://orcid.org/oauth/authorize'
|
19
|
-
scope: '/authenticate'
|
18
|
+
authorize_url: 'https://orcid.org/oauth/authorize'
|
20
19
|
}
|
21
20
|
|
22
21
|
def authorize_params
|