Skip to content

Sample App Log Out Instructions

erikhopf-amzn edited this page Apr 20, 2017 · 1 revision

Known Issue

To log out of the AVS java sample app you must clear your sessionId in /samples/javaclient/config.json, and delete your refresh_tokens file in the /samples/companionService folder. Otherwise, the sample app will authenticate on each reboot.

Solution

Follow these instructions to log out of the AVS java sample app:

  1. Quit the AVS java sample app (CTRL + C).
  2. Open /samples/javaclient/config.json and clear your sessionId. It should look like this:
    "sessionId": ""
    
  3. Delete the refresh_tokens file in samples/companionService.

The next time you log in you will be prompted to authenticate.

Return to wiki »