Skip to content

Commit

Permalink
permit GET /auth/:provider so redirects work
Browse files Browse the repository at this point in the history
  • Loading branch information
jxjj committed Dec 30, 2024
1 parent 0efb1e5 commit 36c33b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/omniauth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@

OmniAuth.config.logger = Rails.logger

# permit get requests so that redirects to `/auth/:provider` work
OmniAuth.config.allowed_request_methods = %i[post get]

0 comments on commit 36c33b5

Please sign in to comment.