assistant-conversation-nodejs icon indicating copy to clipboard operation
assistant-conversation-nodejs copied to clipboard

User information via Google Sign-In for multiple languages

Open MatheusAnciloto opened this issue 4 years ago • 2 comments

Hey there, I'm developing an action that can send an e-mail if the user wish to.

The problem that I tried to solve was to get the user e-mail, the only way that I found was to use the Google Sign-In method, but it simply doesn't work with my pt-BR action.

When I transition to the account linking scene nothing happens, but when the language it's en-US works just fine.

So I looked at the account linking policy and I'm not sure if a third party OAuth using the google account as a linking method would be certified, because it says: Don't request any OAuth scope from Google unless the user is signing in to your service using Google Sign-In. Don't encourage users to agree to additional Google OAuth scopes by directing them to a website or Action.

What would be the best approach to get the e-mail from the user google account for an action in pt-BR?

MatheusAnciloto avatar Jul 14 '21 16:07 MatheusAnciloto

what happens when you try to use sign-in in the pt-BR locale?

Fleker avatar Jul 15 '21 16:07 Fleker

what happens when you try to use sign-in in the pt-BR locale?

nothing at all, it remains with the action open but there's no interaction by the assistant. Like an intent without a response.

MatheusAnciloto avatar Jul 15 '21 16:07 MatheusAnciloto