galtenberg / evernote-random

Use evernote API as a logged-in user - react and express project
Other
39 stars 6 forks source link

Local deployment - getting 400 on /auth #35

Open theresia opened 4 years ago

theresia commented 4 years ago

Hi!

GET /en-auth/new seems to return 400, stuck at Redirecting to Evernote Login… Click here to go back. screen

I have followed the instruction on the README for local deployments.

Any pointer please? Thanks

tre:evernote-random-master tre$ evernoteKey=[the consumer key] evernoteSecret=[the consumer secret] npm run start

> evernote-random@0.5.0 start /Users/tre/Documents/aset/projects/workflow/resurfacing/evernote/evernote-random-master
> concurrently "npm run client" "npm run server"

[0] 
[0] > evernote-random@0.5.0 client /Users/tre/Documents/aset/projects/workflow/resurfacing/evernote/evernote-random-master
[0] > react-scripts start
[0] 
[1] 
[1] > evernote-random@0.5.0 server /Users/tre/Documents/aset/projects/workflow/resurfacing/evernote/evernote-random-master
[1] > nodemon server
[1] 
[1] [nodemon] 1.18.3
[1] [nodemon] to restart at any time, enter `rs`
[1] [nodemon] watching: *.*
[1] [nodemon] starting `node server`
[1] express server listening on port 8000
[0] Starting the development server...
[0] 
[0] Compiled with warnings.
[0] 
[0] ./src/components/App/App.js
[0]   Line 2:  'Link' is defined but never used              no-unused-vars
[0]   Line 9:  'appName' is assigned a value but never used  no-unused-vars
[0] 
[0] ./src/components/App/Header.js
[0]   Line 3:  'classnames' is defined but never used  no-unused-vars
[0]   Line 8:  'IconInfo' is defined but never used    no-unused-vars
[0] 
[0] Search for the keywords to learn more about each warning.
[0] To ignore, add // eslint-disable-next-line to the line before.
[0] 
[1] ::ffff:127.0.0.1 - - [31/May/2020:08:22:22 +0000] "GET /isLoggedIn HTTP/1.1" 304 - 3.802 ms
[1] ::ffff:127.0.0.1 - - [31/May/2020:08:22:22 +0000] "GET /notebooks HTTP/1.1" 500 49 451.349 ms
[1] ::ffff:127.0.0.1 - - [31/May/2020:08:22:28 +0000] "GET /en-auth/new HTTP/1.1" 400 11 380.169 ms
tre:evernote-random-master tre$ node -v
v14.3.0
FTWynn commented 4 years ago

I'm having this trouble as well. Any pointers?