BrianClement / Demo2

Test repository for syncing with local VS repository
0 stars 0 forks source link

login not working for developing locally_U #55

Open BrianClement opened 7 years ago

BrianClement commented 7 years ago

[Issue originally created 2017-Mar-22 00:50:20 UTC by rgommers]

When doing ng serve locally, the site is served on http://localhost:4200 and I get the login screen. It doesn't let me authenticate though:

400. That’s an error.

Error: redirect_uri_mismatch

The JavaScript origin in the request, http://localhost:4200, does not match the ones authorized for the
OAuth client. Visit https://console.developers.google.com/apis/credentials/oauthclient/445131154495-alnh69tsk8vhhqh2ngfbhenq1rj74dlm.apps.googleusercontent.com?project=445131154495
to update the authorized JavaScript origins.

I don't have the credentials to change anything on that Google Console.

Suggestions on how to get this to work locally?

BrianClement commented 7 years ago

[Comment originally created 2017-Mar-22 03:23:10 UTC by rgommers]

Ra added http://localhost:4200 to the authorized places, and that solved it.