token-server

module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT

README

license Go Report Card Go Reference Artifact Hub Docker Pulls

token-server

Usage

Default

token-server

curl -s localhost:8080/token | gojq

Client Credentials

CLIENT_CREDENTIALS=true token-server

curl -s -H 'content-type: application/x-www-form-urlencoded' \
  -d grant_type=client_credentials \
  -d client_id=admin \
  -d client_secret=admin \
  -d audience=YOUR_API_IDENTIFIER \
  localhost:8080/token | gojq

Directories

Path Synopsis
cmd
token-server
Package main implements the tool.
Package main implements the tool.

Jump to

Keyboard shortcuts

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