Realm-web Google Auth error exchanging access code with OAuth2 provider

Use IdToken instead of AuthCode. So also use GoogleCredentialType.IdToken

Welcom Tiga (per the community’s suggestion)

I don’t know if this helps or makes things worse but if anyone’s interested I posted a brief example in my response to Rajesh here:

Also I now there’s been recent changes to the script for the Google Button and a migration process. I have not been using the latest script or researched this. So if there are changes in how this works I’m not aware of them.