docker build -t oauth-test -f docker/Dockerfile .
docker run -it -p 8000:8000 oauth
curl -XPOST 127.0.0.1:8000/token --header 'content-type: application/x-www-form-urlencoded' --data grant_type=client_credentials -u admin:foobar -d scope=fosite -d audience=admins
Just watch to the console output when the library is started
access_token value from the curl command mentioned abovekubectl apply -f deployments/k8s
Content type
Image
Digest
Size
13.9 MB
Last updated
over 5 years ago
docker pull breathbath/oauth-test