File tree Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Expand file tree Collapse file tree 3 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717* #1517 OP prompts for logout when no OP session
1818* #1512 client_secret not marked sensitive
1919* #1521 Fix 0012 migration loading access token table into memory
20+ * #1584 Fix IDP container in docker compose environment could not find templates and static files.
2021<!--
2122### Security
2223-->
Original file line number Diff line number Diff line change @@ -57,7 +57,10 @@ ENV DATABASE_URL="sqlite:////data/db.sqlite3"
5757COPY --from=builder /opt/venv /opt/venv
5858ENV PATH="/opt/venv/bin:$PATH"
5959COPY --from=builder /code /code
60- RUN mkdir -p /code/tests/app/idp/static /code/tests/app/idp/templates
60+ RUN mkdir -p /data/static /data/templates
61+ COPY --from=builder /code/tests/app/idp/static /data/static
62+ COPY --from=builder /code/tests/app/idp/templates /data/templates
63+
6164WORKDIR /code/tests/app/idp
6265RUN apt-get update && apt-get install -y \
6366 libpq5 \
Original file line number Diff line number Diff line change @@ -325,6 +325,28 @@ Reviewing and Merging PRs
325325
326326PRs that are incorrectly merged may (reluctantly) be reverted by the Project Leads.
327327
328+ End to End Testing
329+ ------------------
330+
331+ There is a demonstration Identity Provider (IDP) and Relying Party (RP) to allow for
332+ end to end testing. They can be launched directly by following the instructions in
333+ /test/apps/README.md or via docker compose. To launch via docker compose
334+
335+ .. code-block :: bash
336+
337+ # build the images with the current code
338+ docker compose build
339+ # wipe any existing services and volumes
340+ docker compose rm -v
341+ # start the services
342+ docker compose up -d
343+
344+ Please verify the RP behaves as expected by logging in, reloading, and logging out.
345+
346+ open http://localhost:5173 in your browser and login with the following credentials:
347+
348+ username: superuser
349+ password: password
328350
329351Publishing a Release
330352--------------------
You can’t perform that action at this time.
0 commit comments