Update README

This commit is contained in:
2020-05-20 13:45:33 +02:00
parent 61aae078b5
commit 523ce77a84
2 changed files with 29 additions and 8 deletions

View File

@ -25,13 +25,26 @@ up:
down:
docker-compose down -v --remove-orphans
create-client:
docker-compose exec hydra \
sh -c 'HYDRA_URL=http://localhost:4445 hydra clients create -c http://localhost:3002/oauth2/callback'
create-default-client:
docker-compose exec \
-e HYDRA_URL=http://localhost:4445 \
hydra \
hydra clients create \
-c http://localhost:3002/oauth2/callback \
--post-logout-callbacks http://localhost:3002
list-clients:
docker-compose exec hydra \
sh -c 'HYDRA_URL=http://localhost:4445 hydra clients list'
docker-compose exec \
-e HYDRA_URL=http://localhost:4445 \
hydra \
hydra clients list
hydra-interactive:
docker-compose exec \
-e HYDRA_URL=http://localhost:4445 \
hydra \
/bin/sh
clean:
rm -rf release