assistant-relay
assistant-relay copied to clipboard
Stuck on Tokens screen at set up,
Cloned repo installed, and run, does oauth authentication, and paste token into box on page 3. Finish button doesn't do anything.
Steps to reproduce the behavior:
- Clone repo
- cd relay
- npm install
- open browser to ip port 3000.
- follow steps and authenticate with google.
- paste token into box.
- press finish.
Expected behavior expected that finish does something, and writes the token into the bin/config.json file.
Installed on Raspberry PI 3 Called from Windows 10, Chrome latest patches.
Please provide a sample of the config.json with xxxx'd out token so I can force the token into the config.json
Are you looking to develop or install?
If you're installing, follow these instructions: https://greghesp.github.io/assistant-relay/docs/getting-started/installation/#installation
Hi thanks for the quick reply.
I tried following those instructions first, couldn't get it to work. so I cloned the master branch built and ran, which worked. problem is the token ,
const accesstoken = users[0].tokens.access_token;
I've tried adding the token into config.json using this bit of code as a guideline, but it still won't read it. Can I have an example please of how the token should look in the config file? Thanks
Ah, I've just realised what I think the problem is, although I had thought i'd resolved this in the latest push.
FYI: If you want to use this as an end user, you need to be downloading the release.zip, not cloning the repo.
When I cloned the repo on my mac to develop on, it installed the latest version of ant.design which changed how forms work. Thought this was fixed, but if you're doing this to develop, can you check something for me
In this function: https://github.com/greghesp/assistant-relay/blob/master/client/src/views/setup/EnterToken/index.js#L10
Could you log out to see if the value passed is your auth token please? If it is, then it might be server side
@genericeventhandler Can you confirm if this resolved your issue?