Commit Graph

11 Commits

Author SHA1 Message Date
Jonathan Perret 039d9a12cc (static) add static file serving
We needed a way to serve a handful of static assets, starting with
the ProConnect logo to be embedded in IdP pages.
2024-09-11 10:44:11 +02:00
Jonathan Perret 82fc42d093 🔒️(saml) only allow employees to authenticate
We check the eduPersonAffiliation attribute for a "employee" value to
reject students.
2024-07-22 17:32:20 +02:00
Jonathan Perret 4d19d6ec1b 🚀(logging) enable JSON logs and LOG_LEVEL env var (#11)
All logs (Gunicorn + SATOSA) are now logged as JSON and the level can be
controlled with the LOG_LEVEL environment variable.
2024-06-04 16:28:15 +02:00
Jonathan Perret 78a1b549fc 🚀(redis) add Redis instance to dev and staging
Necessary to support more that one SATOSA worker.
2024-04-29 22:28:18 +02:00
Jonathan Perret b50126675a 🔒️(oidc) return JWT from userinfo endpoint
AgentConnect apparently requires the userinfo endpoint to return a
signed JWT.
2024-04-29 16:35:33 +02:00
Jonathan Perret b8037e7b69 🚀(staging) don't default to 3 Gunicorn workers
Currently we let SATOSA store some state in-memory. This cannot
work if we have multiple workers.
2024-04-25 11:09:18 +02:00
Jonathan Perret a6d3483ad9 🎨(tooling) generate default SATOSA secrets for developemnt
`make bootstrap` will now generate well-formed secrets in
env.d/development/satosa. This also serves to document one way
of generating such secrets.
2024-04-17 17:00:06 +02:00
Jonathan Perret 3b2e63e2b5 (test) setup end-to-end manual test
This sets up a test OIDC client, that will start an authentication flow
to the RENATER test federation through our SATOSA instance.
2024-04-17 16:10:12 +02:00
Jonathan Perret 3e71b2166c 🏗️(common) replace Django app with SATOSA
We mostly import SATOSA and launch its WSGI app.
2024-04-17 14:46:15 +02:00
Jonathan Perret 4fc43c023a 🏗️(common) remove Keycloak
We won't be using Keycloak.
2024-04-15 18:31:20 +02:00
Samuel Paccoud - DINUM cde532dcef (project) add current boilerplate for Django projects
includes a working docker compose project, a Makefile for dev,
a CI configuration and a Django starter project.
2024-03-11 19:17:25 +01:00