Skip to content

Commit 46fd420

Browse files
committed
Allow any HTTP verb for auth callbacks
1 parent 990acb4 commit 46fd420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
get "/sign_in" => "authentications#sign_in", as: :sign_in
33
get "/sign_out" => "authentications#sign_out", as: :sign_out
44

5-
get '/auth/:provider/callback' => 'authentications#create'
5+
match '/auth/:provider/callback' => 'authentications#create', via: :all
66
get '/auth/failure' => 'authentications#failure'
77

88
resources :authentications, only: [:create]

0 commit comments

Comments
 (0)