Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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:

[![Deploy to Bluemix](https://bluemix.net/deploy/button.png)](https://bluemix.net/deploy?repository=https://github.com/watson-developer-cloud/token-generator) [![Greenkeeper badge](https://badges.greenkeeper.io/watson-developer-cloud/token-generator.svg)](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.