omniauth-onshape-oauth2 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth/strategies/onshape.rb +2 -2
- data/lib/omniauth-onshape-oauth2/version.rb +1 -1
- 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: 38709ca9ab2a0ee5cad09b1500440d043a1f8680
|
4
|
+
data.tar.gz: c06c2f7faa4637e8a313ce4306848a97402b0288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bd7e72068eb810131e379856c6ccd64cbd7e97f4a5432e409d4f6be7378b9a3958884b7cdac4edeb72b1eec2e3063e1deacd1d18d7e7352174d30d56e334af8
|
7
|
+
data.tar.gz: 86f714f84bbc8fae4e209c13c0fe35234906d6b235f976b22c58b202ab79ad4e6d92c7f111613304156441c769f208f688af58687352f0085ded859f7f868d8d
|
@@ -9,7 +9,7 @@ module OmniAuth
|
|
9
9
|
# This is where you pass the options you would pass when
|
10
10
|
# initializing your consumer from the OAuth gem.
|
11
11
|
option :client_options, {
|
12
|
-
:site => 'https://
|
12
|
+
:site => 'https://partner.dev.onshape.com/api',
|
13
13
|
:authorize_url => 'https://partner.dev.onshape.com/oauth/authorize',
|
14
14
|
:token_url => 'https://partner.dev.onshape.com/oauth/token'
|
15
15
|
}
|
@@ -36,7 +36,7 @@ module OmniAuth
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def raw_info
|
39
|
-
@raw_info ||= access_token.get("
|
39
|
+
@raw_info ||= access_token.get("users/sessioninfo").parsed
|
40
40
|
end
|
41
41
|
|
42
42
|
end
|