omniauth-tiktok-oauth2 0.1.6 → 0.1.7

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
  SHA256:
3
- metadata.gz: 8c6bd88bbacc4d220836b0ded8a09dcddd4fc26a4fb03d38361add2f566076b2
4
- data.tar.gz: 621e54dcf518f174a95bd2b2abd9509287abb2cd330d17e0958815797f688309
3
+ metadata.gz: 350cdc9995525e2eba649505e92d978073a116f896e7cd306512b3854b3fa7d7
4
+ data.tar.gz: 9cedebefc8046d284a3294236257d452d8f8b8e9126aa70796792f80ec43729d
5
5
  SHA512:
6
- metadata.gz: 9349cb8c42c54dfda87cb576f99baeb11753e333af8c1e474547e96b192d624450c86b91fae8c1dd39907d5a996732fa3c50df4cd5bcfba0639917936a54a536
7
- data.tar.gz: cb5bf601f557361e4d28c10f27fc103f97fad95b234ae199c193e5dfd9c69c72ab0ede8fc18f9d6179fca5b8bccd8adb291f55fdf01bde098c2826f65fe791c9
6
+ metadata.gz: 1f56cc2684c18aed9daeba4d1aea0272d0268751dbf71a679dfa1e590d0c01c905fb3aca561ebc6ed28b3a4ee61ac81df2fe55041bbb7f4f2b32bcabc9af7753
7
+ data.tar.gz: '095fc878012b095261144ff2fd241fffefd735bec1523e76f93b96d314e73486e69cb3468be8937c08dc25093c65cbad83a4e16092921b07da68eae525e74587'
@@ -11,9 +11,9 @@ module OmniAuth
11
11
  USER_INFO_URL = 'https://business-api.tiktok.com/open_api/v1.2/user/info/'
12
12
  option :name, "tiktok_oauth2"
13
13
  option :client_options,
14
- site: 'https://business-api.tiktok.com',
15
- authorize_url: 'https://ads.tiktok.com/marketing_api/auth',
16
- token_url: 'https://business-api.tiktok.com/open_api/v1.2/oauth2/access_token'
14
+ site: 'https://business-api.tiktok.com/',
15
+ authorize_url: 'https://ads.tiktok.com/marketing_api/auth/',
16
+ token_url: 'https://business-api.tiktok.com/open_api/v1.2/oauth2/access_token/'
17
17
 
18
18
  option :pkce, true
19
19
 
@@ -49,7 +49,7 @@ module OmniAuth
49
49
  options.token_params.merge(
50
50
  app_id: options.client_id,
51
51
  secret: options.client_secret,
52
- auth_code: request.params["code"],
52
+ auth_code: request.params["auth_code"],
53
53
  parse: :tiktok,
54
54
  )
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module OmniAuthTiktokOauth2
2
- VERSION = '0.1.6'
2
+ VERSION = '0.1.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-tiktok-oauth2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristoffer Ek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-13 00:00:00.000000000 Z
11
+ date: 2022-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2