Try using Oauth Client ID type web app and use the client_id into the serverClientId For example
final googleSignIn = GoogleSignIn( serverClientId: '', scopes: [ 'openid', 'email', 'profile', ], );