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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f69e358322fdd8873b4ef60296999f8b5fea1150
4
- data.tar.gz: 34a4c4e06605ce8ada9e13ca538a9f383863e196
3
+ metadata.gz: 38709ca9ab2a0ee5cad09b1500440d043a1f8680
4
+ data.tar.gz: c06c2f7faa4637e8a313ce4306848a97402b0288
5
5
  SHA512:
6
- metadata.gz: f1622efae2e7c9320f63ada3e8416db6783dbaf1013e09cc3a353cd3b4fdaa36798384042beae31f762129357b2868b0596644cc842c0e41ee093ade2bbc384b
7
- data.tar.gz: 4b63475c89fc00ccefeb10a69cdc8c55519e2dba381ac9e67daf71305ee9dc62672612eb08d37c51092df19fa85ba78007782b66e106a1c9be21ed1e910e5726
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://dev-portal.dev.onshape.com',
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("user").parsed
39
+ @raw_info ||= access_token.get("users/sessioninfo").parsed
40
40
  end
41
41
 
42
42
  end
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module OnShapeOAuth2
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-onshape-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brentan Alexander