txToken creates an HS256 JWT token from JSON retrieved from a remote endpoint resulting from a proxied JSON request body.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Godeps added deps May 27, 2018
dockerfiles added certs to docker files May 27, 2018
vendor added deps May 27, 2018
.gitignore updated LICENSE and ignore dist May 27, 2018
LICENSE updated LICENSE and ignore dist May 27, 2018
README.md Update README.md May 29, 2018
example_cfg.yml added deps May 27, 2018
goreleaser.yml fixed releaser script May 27, 2018
mast.jpg documentation update May 28, 2018
txtoken.go src name fix May 27, 2018

README.md

txtoken data transmission txtoken Release Go Report Card Docker Container Image Size Docker Container Layers Docker Container Pulls

txToken

txToken creates an HS256 JWT token from JSON retrieved from a remote endpoint resulting from a proxied json request body.

txToken exposes an http POST endpoint accepting JSON data to be sent to a remote server along with a preset bearer token. Validation of this token on the remote side is optional and only needed if the remote wishes to authenticate the call using a shared key.

  1. Post JSON data to txToken.
  2. txToken re-posts the JSON to remote endpoint.
  3. txToken creates a JWT token with JSON data returned from remote.
  4. txToken returns a JWT token

Systems that share an encryption key with txToken can validate the token and ensure the authenticity of it's data.

Getting Started

Checkout the article JWT Microservice, Tokenize Remote APIs for a detailed functional overview and guide.