question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Signin status is CANCELLED when sign in with google home and 'personal results' setting disabled

See original GitHub issue

I am developing account linking and I have a problem with google home in a certain case. I have a DialogFlow intent that calls this code when i say “log in” :

export function signIn(app) {
  app.ask(new SignIn());
}

I have another DialogFlow intent that has “actions_intent_SIGN_IN” event and calls this code :

export function signInConfirmation(app, params, signin) {
  if (signin && signin.status === 'OK') {
    chatAsk(app, 'A');
  } else if (signin && signin.status === 'CANCELLED') {
    chatAsk(app, 'B');
  } else {
    chatAsk(app, 'C');
  }
}

Everything works fine with google home and google assistant : after logging in, the assistant answers “A”.

However, when I disable the “Personal Results” setting on google home, the signin object of the signInConfirmation method has a status equal to ‘CANCELLED’ and I dont understand why.

img_0726

I tried to authenticate (with this setting disabled) on applications available on the Google store and they all seem to handle this case: the assistant says something like : "In order to display different content, I need your permission to access your personal informations … " and it sends a notification in the google home app to change the setting.

Thank you in advance for your help.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
dt1900commented, Nov 28, 2018

I believe that is what this issue is raising, @Fleker . There needs to be a more discrete differentiation between active, user-initiated cancellation via dialog vs. policy-based cancellation.

Please forward this as a feature request.

3reactions
Flekercommented, Dec 18, 2018

A feature request has been filed internally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Allow personal results on your Assistant-enabled devices
To stop personal results on the home screen and as notifications: On your Android phone or tablet, open the Google Home app Google...
Read more >
Sign In With Google JavaScript API reference | Authentication
This field sets whether or not to cancel the One Tap request if a user clicks outside the prompt. The default value is...
Read more >
Privacy & Terms - Google's policies
For example, you can sign up for a Google Account if you want to create and manage content like emails and photos, or...
Read more >
Common questions about the Microsoft Authenticator app
You will need to go to Settings and manually enable the permission. ... To remove the app from a device using a personal...
Read more >
The most common Google Home problems, and how to fix them
If you are on an Android device, you can go to app settings and select Google Home to find the ability to clear...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found