I'm working on a project with Framework7. I want to use the Google Oath on my localhost but I'm always getting this error.Oath error when I'm on my localhost I added the localhost address in my API credentials on my Google Cloud Platform account. As you can see here But I still get this error. It works perfectly on my webserver. Why I'm getting this error on my localhost?
Asked
Active
Viewed 90 times
0
-
Did you whitelist localhost in google console? – Mario Nikolaus Nov 03 '21 at 16:01
-
@MarioNikolaus How can I do that? Sorry, I'm new to this. – Nov 03 '21 at 16:07
-
Ah sorry, I just see you did do this already. What local hostnames did you enter in Google Cloud Platform? – Mario Nikolaus Nov 03 '21 at 16:12
-
@MarioNikolaus http://localhost:5500 – Nov 03 '21 at 16:18
-
Does this answer your question? [Google Auth API Javascript idpiframe initialization error on Chrome](https://stackoverflow.com/questions/42668299/google-auth-api-javascript-idpiframe-initialization-error-on-chrome) – Mario Nikolaus Nov 03 '21 at 16:23
-
@MarioNikolaus No, It doesn't answer. I had already done those steps. – Nov 03 '21 at 16:28
-
You should then add to your question what have you tried so far – Mario Nikolaus Nov 03 '21 at 16:35