Visit "My apps" console and set
- Name: as you like
- Redirect uris:
http://127.0.0.1:3000/callback
Set scopes (whitelists) in "Authorization scopes" panel.
- report:eye-color
- report:beard-thickness
- report:morning-person
$ npm install
$ export GENOMELINK_CLIENT_ID=<your_client_id>
$ export GENOMELINK_CLIENT_SECRET=<your_client_secret>
$ export GENOMELINK_CALLBACK_URL="http://127.0.0.1:3000/callback"
$ node app.js
then, visit http://127.0.0.1:3000
See https://genomelink.io/developers/docs/tutorial-oauth-example/
Node >= 8.9.0