Currently I have the following in my spa…
createAuth0({
domain: "...",
client_id: "...",
redirect_uri: window.location.origin,
prompt: "consent",
useRefreshTokens: true,
}),
A coworker did the following for the native driver…
Auth0
.webAuth(session: .shared, bundle: Bundle.main)
.scope("...")
.audience("...")
.connectionScope("https://www.googleapis.com/auth/contacts.readonly,https://mail.google.com/")
.parameters(["access_type":"offline", "approval_prompt":"force"])
.audience("...")
The question is with regards to the connection scope. I don’t see an equivalent in the spa library. Would that just be using the client cred and user endpoint to get the Google Access token or what would I do for similar functionality?