LoginSignup
1
1

More than 5 years have passed since last update.

SorceryのTwitter API1.1対応

Posted at

NoamB / sorcery でTwitter API1.1での認証に対応
エンドポイントを変えてやれば良いので/config/initializers/sorcery.rbの一番上などに

Sorcery::Controller::Submodules::External::Providers::Twitter::TwitterClient.class_eval do
  @user_info_path = "/1.1/account/verify_credentials.json
end

とかでOK

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1