It's a choice they made, nothing specific to Google or OAuth.
https://developers.google.com/identity/sign-in/web
There may be other options if you want to mess with oauth yourself, but this one is pretty near zero effort.