Basic email sending
This commit is contained in:
23
Makefile
23
Makefile
@@ -19,23 +19,20 @@ watch:
|
||||
lint:
|
||||
golangci-lint run --enable-all
|
||||
|
||||
hydra:
|
||||
docker run \
|
||||
--rm -it \
|
||||
--name hydra-passwordless \
|
||||
-e DSN=memory \
|
||||
-e URLS_LOGIN=http://localhost:3000/login \
|
||||
-e URLS_CONSENT=http://localhost:3000/consent \
|
||||
-p 4444:4444 \
|
||||
-p 4445:4445 \
|
||||
oryd/hydra:v1.4.2-alpine \
|
||||
serve all \
|
||||
--dangerous-force-http
|
||||
up:
|
||||
docker-compose up --build
|
||||
|
||||
down:
|
||||
docker-compose down -v --remove-orphans
|
||||
|
||||
create-client:
|
||||
docker exec -it hydra-passwordless \
|
||||
docker-compose exec hydra \
|
||||
sh -c 'HYDRA_URL=http://localhost:4445 hydra clients create -c http://localhost:3000/test/oauth2/callback'
|
||||
|
||||
list-clients:
|
||||
docker-compose exec hydra \
|
||||
sh -c 'HYDRA_URL=http://localhost:4445 hydra clients list'
|
||||
|
||||
clean:
|
||||
rm -rf release
|
||||
rm -rf data
|
||||
|
Reference in New Issue
Block a user