No release in over a year
OmniAuth strategy for TikTok.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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