Google login supports Google OAuth2 or only PlayGames?

I am looking to make a “Login with google” button to login to my web game

Is this supported in the google login? Or should I target the custom login?


Edit: I think it miiiight work


Edit: It works. Make a webcredential in your google cloud project and it just works