user-test

command module
v0.0.0-...-6cf77ed Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: CC0-1.0 Imports: 3 Imported by: 0

README

user-test

This is the main service. It listens on port :3000, receives auth from Oathkeeper's X-User-* headers, and echos some information back.

Expected Output

curl -H "X-User-ID=1234" -H "X-User-Provider=github" -H "X-User-Username=ghost" -H "X-User-Email=ghost@github.com" http://localhost:3000

Hello user 1234
You logged in with github using the username ghost and the email ghost@github.com

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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