You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if is a devise-token-auth issue but anyway I would like to post it just in case that someone else happens the same.
After I installed devise-tokenauth and ng-token-auth I tried authentication via facebook leading to this error:
{"errors":["Use POST /sign_in to sign in. GET is not supported."]}
my rails logs:
Started GET "/omniauth/facebook/callback?code=AQCJG_Oz26o9PADnpL_arsnTN5E38EFikWZDXiQHXEYki1wPNt4dkqpXHE_8SrbGbweh29VmGQleegapuvVf8jOQmVhtz1prLy7GLRr40i07O24M4iNY8WQFVqKD3TIRmqgsj-puaP61KzUdpR0LHw_yeeguX38FDV_4KjHAHa0D4OLipA6ofd78eXQoEhvdkvtFnguuJGfKt0N6eEj9m1h185F2jkZqaZAwh6lM_VQTnDiwOWy10IHYA62yXWk0MJv28AhhoszC-R7tdFvxAEwn6C7IsMhxY7aBZp6VJwegJyQBBydwXb5QpMnOi4oNLSvi6oKARQkQ5i8Mku5tcqTA&state=8bf6fcfb4dedcf2f22fa3bef875d0e91b63ac0c9b7a8f8a6" for ::1 at 2017-01-29 12:38:34 -0300
Processing by Devise::OmniauthCallbacksController#failure as HTML
Parameters: {"code"=>"AQCJG_Oz26o9PADnpL_arsnTN5E38EFikWZDXiQHXEYki1wPNt4dkqpXHE_8SrbGbweh29VmGQleegapuvVf8jOQmVhtz1prLy7GLRr40i07O24M4iNY8WQFVqKD3TIRmqgsj-puaP61KzUdpR0LHw_yeeguX38FDV_4KjHAHa0D4OLipA6ofd78eXQoEhvdkvtFnguuJGfKt0N6eEj9m1h185F2jkZqaZAwh6lM_VQTnDiwOWy10IHYA62yXWk0MJv28AhhoszC-R7tdFvxAEwn6C7IsMhxY7aBZp6VJwegJyQBBydwXb5QpMnOi4oNLSvi6oKARQkQ5i8Mku5tcqTA", "state"=>"8bf6fcfb4dedcf2f22fa3bef875d0e91b63ac0c9b7a8f8a6"}
Redirected to http://localhost:3000/api/v1/auth/sign_in
Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
Can't understand what's going on. Should my client start a Post method instead of get? is an issue of ng-token-auth?
I've seen another similar issue but was about CSFR.
The text was updated successfully, but these errors were encountered:
Not sure if is a devise-token-auth issue but anyway I would like to post it just in case that someone else happens the same.
After I installed devise-tokenauth and ng-token-auth I tried authentication via facebook leading to this error:
{"errors":["Use POST /sign_in to sign in. GET is not supported."]}
my rails logs:
Can't understand what's going on. Should my client start a Post method instead of get? is an issue of ng-token-auth?
I've seen another similar issue but was about CSFR.
The text was updated successfully, but these errors were encountered: