gives User (role: guests) missing scope (account) error
TL;DR
Developers are encountering a "User missing scope (account)" error when using the wrong code for Google OAuth2 setup. Double-check the code to ensure it includes the necessary scope for the account.