Action on google missing access token

433 Views Asked by At

I have added account linking to my project , and I tried both auth code and implicit flow and my account linking is successfully done , I tried account linking with google assistant app and it got linked successfully in both the flow implicit and auth code, but I can't find access token in request body and request header to my webhook call , I searched everywhere but access token is missing into the request , i am developing using new Actions Builder. According to doc the access token should be in user object but it's not there in my case.

Below is request

    {
  "requestJson": {
    "handler": {
      "name": "getleavecount"
    },
    "intent": {
      "name": "GET_LEAVES",
      "params": {},
      "query": "How many leave i have ?"
    },
    "scene": {
      "name": "GetInformation",
      "slotFillingStatus": "UNSPECIFIED",
      "slots": {}
    },
    "session": {
      "id": "ABwppHG-EoGM1K7M9mqBlNbdZQ_xnvkaQ2EvV6Lt49zeLta_qQJa2u9gSw3Tfh3PIDDVUSSPE7dVAqtZ3w8",
      "params": {
        "AccountLinkingSlot": "LINKED"
      },
      "typeOverrides": [],
      "languageCode": ""
    },
    "user": {
      "locale": "en-US",
      "params": {},
      "accountLinkingStatus": "LINKED",
      "verificationStatus": "VERIFIED",
      "packageEntitlements": [],
      "lastSeenTime": "2020-09-22T07:11:32Z"
    },
    "home": {
      "params": {}
    },
    "device": {
      "capabilities": [
        "SPEECH",
        "RICH_RESPONSE",
        "LONG_FORM_AUDIO"
      ]
    }
  }
}
0

There are 0 best solutions below