Skip to content

Commit

Permalink
Merge pull request #931 from tdiary/update_omniauth2
Browse files Browse the repository at this point in the history
suppurt OmniAuth2
  • Loading branch information
tdtds committed Feb 6, 2021
2 parents 27e4d22 + d199b30 commit b322436
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tdiary/rack/auth/omniauth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def initialize(app)
raise NoStrategyFoundError.new("Not found any strategies. Write the omniauth strategy in your Gemfile.local.")
end

OmniAuth.config.allowed_request_methods = [:get] # FixMe
@app = ::Rack::Builder.new(app) {
use TDiary::Rack::Session
}.tap {|builder|
Expand Down

0 comments on commit b322436

Please sign in to comment.