I am using Auth0 with expo to sign in with Google and Apple.
I need different scopes depending on which social connection the user chooses.
Here is my current code:
auth = await authorize({
audience: ENVIRONMENT.API_AUDIENCE,
scope: 'openid profile name email offline_access',
additionalParameters: {
access_type: 'offline',
connection_scope: 'name email', //googleScopes.join(","),
},
});
Is there a way to conditionally set the connection scope depending on the social connection the user chooses?