https://github.com/txn2/txtoken
txToken creates an HS256 JWT token from JSON retrieved from a remote endpoint resulting from a proxied JSON request body.
https://github.com/txn2/txtoken
authentication docker-image jwt jwt-server jwt-token kubernetes microservice security
Last synced: 6 months ago
JSON representation
txToken creates an HS256 JWT token from JSON retrieved from a remote endpoint resulting from a proxied JSON request body.
- Host: GitHub
- URL: https://github.com/txn2/txtoken
- Owner: txn2
- License: apache-2.0
- Created: 2018-05-25T23:32:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-29T07:50:43.000Z (over 7 years ago)
- Last Synced: 2025-04-07T23:22:43.716Z (10 months ago)
- Topics: authentication, docker-image, jwt, jwt-server, jwt-token, kubernetes, microservice, security
- Language: Go
- Homepage: https://mk.imti.co/jwt-microservice/
- Size: 1.41 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://github.com/txn2/txtoken/releases)
[](https://goreportcard.com/report/github.com/txn2/txtoken)
[](https://hub.docker.com/r/txn2/irsync/)
[](https://hub.docker.com/r/txn2/irsync/)
[](https://hub.docker.com/r/txn2/txtoken/)
# 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.
[JWT Microservice, Tokenize Remote APIs]: https://mk.imti.co/jwt-microservice/
[txtoken]: https://github.com/txn2/txtoken