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
Hi guys,
I'm using ng-token-auth along with devise-toke-auth but I can't log in using any provider such as facebook, google...
Error: {"errors":["Use POST /sign_in to sign in. GET is not supported."]}
According to what it says, I should start a request using POST instead of GET but how can I make that happen?
My server logs indicates that I'm using GET: (is this correct? should be get or post?)
Started GET "/omniauth/facebook/callback?code=AQDDaj9TeGQDD8mrBBHYoCpPAIK0G2_iUWdt5OyvKuHiNGcd1jWQIUoWF-g5lJk0zO27XYx2dAlz84AS_uDsxV7v_bENTZJbT3rXL-9uDqcc-gIAy3Wp368EW1ZZ-7nUq-FI3bHd3tkyoJXrQ69YDaZA2X0BT4gbhZQ7uXWA8BUCz_vhVFjcYZE7YoPshEjW3s4Kf1na5LtPDpJk6m-8CiG0OoVIlZm6Qu-Mi2KP3mXD5wp88AwpcPMS5hYqVjIcVXGmpUaesq2Gv5eih5QyIpzySaChqj2HZt1JIFShiGfSbHXcTRad958GMoeGLeLCn1QhLu0jDscK-cQGOrvk6XQA&state=837234fae0523119f62b6a839ef3be2fab61c17b1947e953" for ::1 at 2017-01-29 14:07:15 -0300
Processing by Devise::OmniauthCallbacksController#failure as HTML
Parameters: {"code"=>"AQDDaj9TeGQDD8mrBBHYoCpPAIK0G2_iUWdt5OyvKuHiNGcd1jWQIUoWF-g5lJk0zO27XYx2dAlz84AS_uDsxV7v_bENTZJbT3rXL-9uDqcc-gIAy3Wp368EW1ZZ-7nUq-FI3bHd3tkyoJXrQ69YDaZA2X0BT4gbhZQ7uXWA8BUCz_vhVFjcYZE7YoPshEjW3s4Kf1na5LtPDpJk6m-8CiG0OoVIlZm6Qu-Mi2KP3mXD5wp88AwpcPMS5hYqVjIcVXGmpUaesq2Gv5eih5QyIpzySaChqj2HZt1JIFShiGfSbHXcTRad958GMoeGLeLCn1QhLu0jDscK-cQGOrvk6XQA", "state"=>"837234fae0523119f62b6a839ef3be2fab61c17b1947e953"}
Redirected to http://localhost:3000/api/v1/auth/sign_in
Completed 302 Found in 37ms (ActiveRecord: 0.0ms)
Started GET "/api/v1/auth/sign_in" for ::1 at 2017-01-29 14:07:17 -0300
Processing by DeviseTokenAuth::SessionsController#new as HTML
Completed 405 Method Not Allowed in 1ms (Views: 0.0ms | ActiveRecord: 0.0ms)
As the documentation indicates my client side is made by:
Hi guys,
I'm using ng-token-auth along with devise-toke-auth but I can't log in using any provider such as facebook, google...
Error: {"errors":["Use POST /sign_in to sign in. GET is not supported."]}
According to what it says, I should start a request using POST instead of GET but how can I make that happen?
My server logs indicates that I'm using GET: (is this correct? should be get or post?)
As the documentation indicates my client side is made by:
My app.js module config:
And my ruby routes just in case:
The text was updated successfully, but these errors were encountered: