Four ways to wire up Google login on a plain web page, using the modern Google Identity Services library. Pick a variant to try it live.
Client ID used across all variants:
1000584830309-l7ld0h6cijs8gvhr2o86qpi7hka637u3.apps.googleusercontent.com
Also want to see how this compares to Apple? Sign in with Apple showcase → (needs a paid Apple Developer account and an HTTPS domain — won't run out of the box like this one).