omniauth-tiktok-loginkit 0.1.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec9efb4e7e1fd15d2a281eff5dd6fb51f7ab1beee097258f045d1afbfa26e940
4
- data.tar.gz: 440617b46ff9e4f76b989bea6749c664bd8103bfe46a3e4f5c9ef3e10f630a48
3
+ metadata.gz: 14307d7f8316391d78741534ff36b9106d68a78a9c3d9c274b1ef50beecc492d
4
+ data.tar.gz: 991f4a4d4c7c9d372ddddedd52172b449cb79de06a72d0ded7a74f4b97b36f93
5
5
  SHA512:
6
- metadata.gz: 968214817a2f1de8b5a4a90983711e8b44098fc0c7289c117da317f15acec3d8a720e5eb7d1154592c71e946bf3f045e83a23e65d6ee9065d71d956bace3479e
7
- data.tar.gz: eecbd23794bff3a8038e9f13046183b2f1d3c5a170d5234d8661c9e7840b11f9ff7bb7c0a8ee0016322ec210da74b8b8a949ac4b633d258aede2c8abe05f1406
6
+ metadata.gz: 262098690b9522f578d336d73ae980dfa2888499ff3658b3e865dc5b98c61e89dde673e18991b24cdc6c4c8f6449f16ca89d210e42e1099813adf32978561fb8
7
+ data.tar.gz: f43ac4dd53af4eb1ae9bb02d8c91d839d672b08c84e382c2936e3e3c1d642b80e9436fa3178b40d8acde22260cc76c909bc54f96e9ec565f6022de887f7b9442
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OmniauthTiktokLoginkit
4
- VERSION = "0.1.2"
4
+ VERSION = "1.0.0"
5
5
  end
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.1.2
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: "# omniauth-tiktok-loginkit\n\nOmniAuth Strategy for TikTok [LoginKit](https://developers.tiktok.com/doc/login-kit-overview/)\n\nUsing
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.1.6
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: []