We are able to get the refresh_token successfully by using prompt: "consent" in the auth.params. As shown below:
{
allowAutocomplete: true
allowedConnections: ["google-oauth2"]
auth:{
access_type: "offline"
connectionScopes: {google-oauth2: ...}
params: {
access_type: "offline",
state: "shgs84s90kksa_kdd2kdnisdgigg3ng",
prompt: "consent",
scope: "openid profile email"
}
}
responseType: "token id_token"
autoclose: true
autofocus: false
passwordlessMethod: "link"
}
The problem is, we are getting an additional pop-up from Auth0.

Essentially, we need to set prompt: none for Auth0 and prompt: consent for Google authentication.
Any ideas on how we can accomplish this? Thanks!