Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/watson-developer-cloud/token-generator
Basic Node.js Server to generate watson auth tokens from user-supplied credentials.
https://github.com/watson-developer-cloud/token-generator
Last synced: 3 months ago
JSON representation
Basic Node.js Server to generate watson auth tokens from user-supplied credentials.
- Host: GitHub
- URL: https://github.com/watson-developer-cloud/token-generator
- Owner: watson-developer-cloud
- Created: 2017-01-04T18:18:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T15:17:02.000Z (about 2 years ago)
- Last Synced: 2024-05-09T16:21:26.111Z (10 months ago)
- Language: JavaScript
- Size: 412 KB
- Stars: 6
- Watchers: 7
- Forks: 14
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Watson Token Generator
Basic Node.js server with a form that accepts a service's credentials and URL and returns an [auth token](https://www.ibm.com/watson/developercloud/doc/common/getting-started-tokens.html).
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:
[](https://bluemix.net/deploy?repository=https://github.com/watson-developer-cloud/token-generator) [](https://greenkeeper.io/)
## Running locally
Requires [Node.js](https://nodejs.org/en/).
Then clone or [download](https://github.com/watson-developer-cloud/token-generator/archive/master.zip) the code, and run:```sh
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.