Auth0-react define connection scopes

Hi,

I’m using auth0-react SDK with my react web application. I followed the basic tutorial and able to successfully integrate the Google social login process. Now I want to define the connection scopes for google login such as “https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fanalytics%2Chttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcontacts.readonly”.

I tried to add connectionScope to Auth0Provider using followinf code.

<Auth0Provider
domain=“mydomain-example.auth0.com
clientId=“clientid”
redirectUri={window.location.origin}
responseType= ‘token id_token’
audience=“my_audience”
connectionScope="“https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fanalytics”

Then I get the google identity token using Management API(https://auth0.com/docs/connections/calling-an-external-idp-api#step-2-get-the-full-user-profile) . But When I used that google token to call the corresponding google api, It returns “Request had insufficient authentication scopes.” error.

I would like to know , Did I correcty define the connection scope in Auth0Provider.

Thank You!