Socket
Book a DemoInstallSign in
Socket

tiktok-oauth-strategy

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiktok-oauth-strategy

bundlerRubygems
Version
0.0.0
Version published
Maintainers
1
Created
Source

tiktok_oauth_strategy

An unofficial OmniAuth strategy for TikTok authentication with the TikTok Login Kit.

Usage

Install the gem

gem 'tiktok_oauth_strategy'
bundle install

Make a TikTok developer account and create an application. Retrieve the app's TIKTOK_CLIENT_ID and TIKTOK_CLIENT_SECRET once it is approved and add a middleware to your ruby project, typically in a config/initializers/omniauth.rb file :

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :tiktok, ENV['TIKTOK_CLIENT_ID'], ENV['TIKTOK_CLIENT_SECRET']
end

FAQs

Package last updated on 05 Aug 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts