domfarolino / angular2-login-seed

(deprecated) Seed app w/ Angular2, Node, Express, and OAuth login
https://domfarolino.com/angular2-login-seed
MIT License
181 stars 77 forks source link

The angular2-login-seed.herokuapp.com page isn’t working #24

Closed IvanYurchenko closed 7 years ago

IvanYurchenko commented 7 years ago

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)
domfarolino commented 7 years ago

See my comment on #25