How to get gender using google signin

I don’t understand how to get a user’s public gender using google signin.

Here’s the relevant permission - https://developers.google.com/identity/protocols/oauth2/scopes

And i need this to request the gender permission - provider.addScope(‘https://www.googleapis.com/auth/contacts.readonly’);

I don’t understand what I am supposed to do next. I am using firebase.

1 Like