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
I am not able to get angular to allow POST for login. I have followed your README and other issues posted but still get the same error. Logging into devise from rails side works fine. I have also added
def set_csrf_cookie_for_ng
cookies['XSRF-TOKEN'] = form_authenticity_token if protect_against_forgery?
end
def verified_request?
super || valid_authenticity_token?(session, request.headers['X-XSRF-TOKEN'])
end
I am not able to get angular to allow POST for login. I have followed your README and other issues posted but still get the same error. Logging into devise from rails side works fine. I have also added
def set_csrf_cookie_for_ng
cookies['XSRF-TOKEN'] = form_authenticity_token if protect_against_forgery?
end
def verified_request?
super || valid_authenticity_token?(session, request.headers['X-XSRF-TOKEN'])
end
to my application controller and ...
to my main app config. Based off all the documentation I have read this should be working.
The text was updated successfully, but these errors were encountered: