watson-developer-cloud / token-generator

Basic Node.js Server to generate watson auth tokens from user-supplied credentials.
6 stars 14 forks source link

Watson Token Generator

Basic Node.js server with a form that accepts a service's credentials and URL and returns an auth token.

May be run from Bluemix, a Raspberry Pi, etc. Automatically redirects to HTTPS when running on Bluemix.

Running on Bluemix

Click the button to deploy to Bluemix:

Deploy to Bluemix Greenkeeper badge

Running locally

Requires Node.js. Then clone or download the code, and run:

npm install
npm start

Security

Due to the security implications, it is recommended that you run your own copy of this code rather than using someone else's, and that you always use HTTPS.