2

I want to build a web app and it should be deployed as me because i don't want force users to accept som risky authorisation but at the same time i need to know their adress email.

thats why i thought about google login API when i tried to run it i got this error message.

Error message while login in google API

so i tried to put the url in the redirect url in google developper console but i got this error

Error message while adding url in google console

can somebody help me please ?

i use this code to interact with google API

<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
    <meta name="google-signin-client_id"
        content="xxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com">
    <script src="https://apis.google.com/js/platform.js" async defer></script>
  </head>
  <body>
    <div class="g-signin2" data-onsuccess="onSignIn"></div>
  </body>
  
</html>

i tried to put origin url on both side but i got:

enter image description here

thank you in advanced

Iamblichus
  • 18,540
  • 2
  • 11
  • 27

0 Answers0