Skip to content

Commit

Permalink
Require strategy in omniauth-tiktok-oauth2
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofferek committed Apr 15, 2021
1 parent 90d3641 commit 196463c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions lib/omniauth-tiktok-oauth2.rb
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
require 'omniauth-tiktok-oauth2/version'
require 'omniauth/strategies/tiktok_oauth2'
2 changes: 1 addition & 1 deletion lib/omniauth-tiktok-oauth2/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module OmniAuthTiktokOauth2
VERSION = '0.1.1'
VERSION = '0.1.3'
end
3 changes: 1 addition & 2 deletions lib/omniauth/strategies/tiktok_oauth2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module OmniAuth
module Strategies
class TiktokOauth2 < OmniAuth::Strategies::OAuth2
class TiktokOAuth2 < OmniAuth::Strategies::OAuth2
USER_INFO_URL = 'https://ads.tiktok.com/open_api/v1.2/user/info/'
option :name, "tiktok_oauth2"
option :client_options,
Expand Down Expand Up @@ -66,4 +66,3 @@ def headers
end
end
end

0 comments on commit 196463c

Please sign in to comment.