omniauth-tiktok-loginkit 0.1.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/omniauth-tiktok-loginkit/version.rb +1 -1
- metadata +6 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14307d7f8316391d78741534ff36b9106d68a78a9c3d9c274b1ef50beecc492d
|
4
|
+
data.tar.gz: 991f4a4d4c7c9d372ddddedd52172b449cb79de06a72d0ded7a74f4b97b36f93
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 262098690b9522f578d336d73ae980dfa2888499ff3658b3e865dc5b98c61e89dde673e18991b24cdc6c4c8f6449f16ca89d210e42e1099813adf32978561fb8
|
7
|
+
data.tar.gz: f43ac4dd53af4eb1ae9bb02d8c91d839d672b08c84e382c2936e3e3c1d642b80e9436fa3178b40d8acde22260cc76c909bc54f96e9ec565f6022de887f7b9442
|
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-tiktok-loginkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Yin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2024-04-13 00:00:00.000000000 Z
|
@@ -52,26 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.0'
|
55
|
-
description:
|
56
|
-
TikTok Oauth API v2.\n\n## Config\n\nConfigure with CLIENT_KEY and CLIENT_SECRET
|
57
|
-
from TikTok Developers Portal (https://developers.tiktok.com/apps/). Note CLIENT_KEY
|
58
|
-
is the value of \"Client Key\" field, not \"App ID\" on the portal.\n\nTikTok requires
|
59
|
-
apps to be approved by review before it can access any APIs, including the Oauth
|
60
|
-
APIs. Also any configuration change to the app will cause it to be back in \"Staging\"
|
61
|
-
status. So please configure all neccessary \"Redirect URI\" correctly before submitting
|
62
|
-
a review.\n\nTikTok also rejects any \"Test App\", so it's better to configure test
|
63
|
-
/ dev environment redirect URI on the production app.\n\n```\nRails.application.config.middleware.use
|
64
|
-
OmniAuth::Builder do\n provider(\n :tiktok_loginkit, \n CLIENT_KEY,
|
65
|
-
\n CLIENT_SECRET,\n *options\n )\nend\n```\n\n...Or with devise
|
66
|
-
(https://github.com/heartcombo/devise#omniauth)\n\n```\n# config/initializers/devise.rb\nconfig.omniauth(\n
|
67
|
-
\ :tiktok_loginkit, \n CLIENT_KEY, \n CLIENT_SECRET, \n ...options\n)\n\n```\n\n##
|
68
|
-
Options\n\n* `name`: change endpoint to /auth/tiktok_another, /auth/tiktok_another/callback.
|
69
|
-
default: `\"tiktok_login\"`\n* `skip_info`: skip User Info API call to retrieve
|
70
|
-
`info` hash. default: `false`\n* `scope`: oauth scopes, seperated by comma. default:
|
71
|
-
`\"user.info.basic\"`\n\n\n## Usage\n\nExample of `request.env[\"omniauth.auth\"]`
|
72
|
-
can be found in the specs:\n\n* [with default scope: user.info.basic](https://github.com/layerssss/omniauth-tiktok-loginkit/blob/main/spec/omniauth/strategies/tiktok_loginkit_spec.rb#L108)\n*
|
73
|
-
[more detailed user info with scopes: user.info.basic,user.info.profile](https://github.com/layerssss/omniauth-tiktok-loginkit/blob/main/spec/omniauth/strategies/tiktok_loginkit_spec.rb#L263)\n\n##
|
74
|
-
License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT)."
|
55
|
+
description:
|
75
56
|
email:
|
76
57
|
- layerssss@gmail.com
|
77
58
|
executables: []
|
@@ -95,7 +76,7 @@ metadata:
|
|
95
76
|
homepage_uri: https://github.com/layerssss/omniauth-tiktok-loginkit
|
96
77
|
source_code_uri: https://github.com/layerssss/omniauth-tiktok-loginkit
|
97
78
|
changelog_uri: https://github.com/layerssss/omniauth-tiktok-loginkit/blob/main/CHANGELOG.md
|
98
|
-
post_install_message:
|
79
|
+
post_install_message:
|
99
80
|
rdoc_options: []
|
100
81
|
require_paths:
|
101
82
|
- lib
|
@@ -110,8 +91,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
91
|
- !ruby/object:Gem::Version
|
111
92
|
version: '0'
|
112
93
|
requirements: []
|
113
|
-
rubygems_version: 3.
|
114
|
-
signing_key:
|
94
|
+
rubygems_version: 3.5.3
|
95
|
+
signing_key:
|
115
96
|
specification_version: 4
|
116
97
|
summary: OmniAuth Strategy for TikTok LoginKit
|
117
98
|
test_files: []
|