Attempt to execute `askForSignIn` fails for linked account

I am trying to implement account binding to our OAuth service.

I tried to login with gala-demo.appspot.com

and it seems to work.

The call askForSignIn()

seems to fail when called, I am not getting any calls to my webservice, so the error seems to be bubbling.

The answer I see in the debug information when using the simulator helper is: expected_inputs[0].possible_intents[0]: intent 'actions.intent.SIGN_IN' is only supported for version 2 and above.

Any ideas?

In another note; If I set signInRequired

in the action setting for the greetings intent it seems to go further, but gives a bad sign in the redirect link in the simulator and on the device it opens a dialog that just disappears (looks like a successful login) but there is no response on the web service.

+3


source to share


2 answers


This is because you are probably using the old API v1. I suggest you check the migration guide: https://developers.google.com/actions/reference/v1/migration



Hooray!

+1


source


At the moment the login feature is not working as clearly explained in the docs, this is just something you can use for testing in the emulator, but it is not available in production



0


source







All Articles