custom-jwt

command
v0.0.0-...-4a72ded Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

Custom module to re-sign JWT tokens

This program contains an example of using a custom module for signing JWT with a private key before sending any requests upstream. For a full example of a custom module, see custom.

Run the Router

Before you can run the router, you need to copy the .env.example to .env and adjust the values.

go run ./cmd/custom-jwt/main.go

Build your own Router

go build -o router ./cmd/custom-jwt/main.go

Run tests

Tests for this module can be found within the integration tests.

All commands are run from the root of the router directory.

Credits

The module system is inspired by Caddy.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL