I've been following the AngularJS Tutorial for Rails on Thinkster and right now I'm nearly at the end of User Authentication with Devise. The app seems to run properly on my local server, but when I look at the console I always see the message:
Failed to load resource: the server responded with a status of 401
(Unauthorized) http://localhost:3000/users/sign_in.json
A few sections of the tutorial have been outdated and I've found answers through here and blog posts, for example there was a routing error that required bundle update
which had been addressed at the question AngularJS and Rails routing error. (it won't let me post all relevant links because I am a newbie so I can't post more than 2, but there were many small things like that so far in the tutorial).
So far I can't figure out why I'm getting the 401, why it's relevant when the app is still functional, and how to fix it.
I'm not completely sure which parts of the code would be relevant. I have the whole repo on github/KellyTeresa/angular-news but will be glad to pull out and add relevant code blocks if you can point me in the right direction.