Skip to content

oxidecomputer/justtrustme

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oxide deployment information

This repository contains the changes we made to justtrustme for an internal Oxide deployment. Releases in this repo only correspond to versions we deployed ourselves, not upstream releases of justtrustme.

Oxide employees wishing to update the deployed version should push their changes here, push a tag, and update the pinned version in the corp-services repo.

justtrustme

justtrust me is a demo/testing OIDC token issuer. It will accept any claims as query parameters (or POST body using JSON encoding) and mint valid OIDC tokens with them.

Needless to say, do not trust anything about this.

Interesting endpoints:

?debug=true is a special query arg that will render a decoded token.

You can also POST a JSON struct that contains the keys. This allows for embedded queries for example. As an example: curl -X POST 'https://justtrustme.dev/token?debug=true&foo=bar' -d '{"key1":"value1","embedded":{"key2":"value2","key3":"value3"}}'

Would create the following claims:

	"payload": {
		"embedded": {
			"key2": "value2",
			"key3": "value3"
		},
		"exp": 1680999300,
		"foo": "bar",
		"iat": 1680997500,
		"iss": "https://justtrustme.dev",
		"key1": "value1"
	}

About

Oxide's deployment of justtrustme

Resources

License

Stars

Watchers

Forks

Contributors

Languages

  • Go 80.0%
  • HCL 20.0%