Closed denkigai closed 3 years ago
I completely followed the sample project here, but i found that clientId
was not set on cloud function via .env file, and now I write it directly on the code for workaround.
How it's be solved? anyway it would save your time to check the value of your clientId if the same problem hits you.
In this section, the document says
and I tried to deploy the completely same code with the sample code snippet in preview mode, but I could not get any user profile but got just a string (it's like
RwczovL2xoMy5nb2...
) fromconv.headers.authorization
.Of course I tried
JSON.stringify(conv)
but I could not find decoded token nor user profile from it.How can I get user email or name from
conv
in webhook?I've almost given up using Account Linking feature on Actions on Google...