Nest Authorization nodejs app
The machine requires a public IP address when you deploy this application on it.
install node.js
npm install
register an account in Nest developer websit
then you need to register a Nest client in Nest clients
assume your above public ip is 113.98.241.99 and the https port is 8000, then your nest OAuth Redirect URI is https://113.98.241.99:8000/nestcb
you MUST provide this OAuth Redirect URI when you register new Nest client.
node bin\www
Open your nestauth websit: https://113.98.241.99:8000/, fill your Nest Client ID and Client secret, and click button 'submit', then click button 'Authenticate'.
it will jump to nest home websit, then nest user signin and grant access to your client.
If success, it will jump to the result view page(https://113.98.241.99:8000/nesttoken) show the nest access_token.