My apologies for asking what seems like such an elementary question, but the i've filled in all of the info to link to a user's google account, but I have no idea where the access token is returned. In the documentation about account linking (https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/linking-an-alexa-user-with-a-user-in-your-system) it says "In the JSON, the access token is available in the accessToken
property of the user
object in the request:"
I'm using Node with the alexa-sdk.
exports.handler = function(event, context, callback) { ... console.log("event request: ", event.request); // => { type: 'LaunchRequest', // requestId: 'EdwRequestId.c1ac173a-038a-4e8a-9486-1be69ff583d7', // timestamp: '2017-04-23T03:18:11Z', // locale: 'en-US' }
If this is the request object that the article is referring to, there is no user object and no accessToken to be found. Thanks for your help!