Sto cercando di creare il display di Google One Tap

I’m trying to create something to encourage users to register, but after clicking Continue, it says the page does not exist


<script src="https://accounts.google.com/gsi/client" async></script>
<div id="g_id_onload"
    data-client_id="YOUR_GOOGLE_CLIENT_ID"
data-context="signin"
      data-login_uri="https://your.domain/your_login_endpoint"
      data-auto_select="true"
      data-close_on_tap_outside="false"
      data-itp_support="true">
</div>
1 Mi Piace

I don’t’ think there’s support for that, but out of curiosity, what are you using for the data-login_uri?

i used
https://my.domain/google_oauth2/callback
or
https://my.domain/auth/google/one-tap/callback
But it doesn’t work either way.