Closed roschaefer closed 2 months ago
There is a default email enrollment flow provided by Authentik.
This flow enrolls the user to Authentik.
The dreammallearth-enrollment-email
flow needs to be fixed, since this is the flow enrolling users to the DreamMall app
Using the current master I could not reproduce the described problem. On a local Linux machine our Authentik signup flow (dreammallearth-enrollment-email) works as expected.
Use these commands from our e2e Github workflow:
# in root directory
docker compose up -d --wait database authentik authentik-worker
# in backend directory
cp .env.dist .env && npm install && npm run db:reset && npm run build && npm run start
# in frontend directory
rm env.production && cp .env.dist .env && npm install && npm run prod
# in presenter directory
rm env.production && cp .env.dist .env && export PORT=3001 && npm install && npm run prod
# wait until all blueprints have been digested in Authentik
https://github.com/user-attachments/assets/32d9a3ff-9c06-4ed5-9228-170b4080f5c4
Using the current master I could not reproduce the described problem. On a local Linux machine our Authentik signup flow (dreammallearth-enrollment-email) works as expected.
How to reproduce
1. Run the DreamMall application locally
Use these commands from our e2e Github workflow:
# in root directory docker compose up -d --wait database authentik authentik-worker # in backend directory cp .env.dist .env && npm install && npm run db:reset && npm run build && npm run start # in frontend directory rm env.production && cp .env.dist .env && npm install && npm run prod # in presenter directory rm env.production && cp .env.dist .env && export PORT=3001 && npm install && npm run prod # wait until all blueprints have been digested in Authentik
2. Follow the steps in the recording
reproduce_failing_flow_dreammall-enrollment-email.mp4
I can still reproduce the error locally. Shall we pair-program? @mahula
Fixed by #1835
🐛 Bug
If you try to run
dreammallearth-enrollment-email
via docker on localhost:You see this bug:
There is a default email enrollment flow provided by Authentik.
If you copy this flow into the
dreammall
folder inauthentik/blueprints
(as of now in branchprovision-authentik-with-blueprints
, soon to be merged intomaster
) you can find it under "flows" in the Authentik UI.If you execute this flow you can find the invitation email in mailpit http://localhost:8025/.