I'm getting such error when trying to sign in via Google:
Clearing cookies didn't help. I haven't faced this error when I opened the app last time a week ago. It occurs in both Chrome/Safari. If you think that the problem is on my side could you give some advice on how to fix it?
This is the console output:
Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.
main.ts:13Bootstrap success
https://angular2-login-seed.herokuapp.com/api/authenticated Failed to load resource: the server responded with a status of 401 (Unauthorized)
https://angular2-login-seed.herokuapp.com/api/users/register Failed to load resource: the server responded with a status of 400 (Bad Request)
2https://angular2-login-seed.herokuapp.com/api/authenticated Failed to load resource: the server responded with a status of 401 (Unauthorized)
error_handler.js:47EXCEPTION: Response with status: 401 Unauthorized for URL: https://angular2-login-seed.herokuapp.com/api/authenticated
ErrorHandler.handleError @ error_handler.js:47
Subscriber.js:227Uncaught Response
5https://angular2-login-seed.herokuapp.com/api/authenticated Failed to load resource: the server responded with a status of 401 (Unauthorized)
zone.js:1382 GET https://angular2-login-seed.herokuapp.com/api/authenticated 401 (Unauthorized)
I'm getting such error when trying to sign in via Google:
Clearing cookies didn't help. I haven't faced this error when I opened the app last time a week ago. It occurs in both Chrome/Safari. If you think that the problem is on my side could you give some advice on how to fix it?
This is the console output: