Clearing Your Access Tokens - rreimi/alexa-avs-sample-app GitHub Wiki
Overview
If you want to try another provisioning method follow the instructions below.
Instructions
- Shut down the sample app by pressing CTRL-C while in the terminal window or command prompt where the sample app is running.
- If you were using the Node.js server, shut it down by pressing CTRL-C in the terminal window or command prompt where the node server is running.
- If you are running a wake word engine for the Raspberry Pi project, shut down the wake word engine by pressing CTRL-C in the terminal window or command prompt where the engine is running.
- In a text editor, open
{REFERENCE_IMPLEMENTATION}/samples/javaclient/config.json
- If your provisioning method was
companionApp
, in thecompanionApp
object, delete the following key/value pairs:clientId
refreshToken
- If your provisioning method was
companionService
, in thecompanionService
object, delete the following key/value pair:sessionId
- Change the
provisioningMethod
if you wish. - Save the
config.json
. - Follow instructions for building and running a companion service or companion app. Then relaunch the sample app.