Update README
This commit is contained in:
23
Makefile
23
Makefile
@ -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
|
||||
|
Reference in New Issue
Block a user