gristlabs_grist-core/docker-compose-examples/grist-traefik-basic-auth
2024-07-26 16:50:34 +01:00
..
configs Makes small improvements to basic-auth setup 2024-07-26 16:44:40 +01:00
docker-compose.yml Moves documentation into README files, and improves links and 2024-07-26 16:50:34 +01:00
README.md Moves documentation into README files, and improves links and 2024-07-26 16:50:34 +01:00

This is the simplest example of Grist with authentication and HTTPS encryption.

It uses Traefik as:

  • A reverse proxy to manage certificates and provide HTTPS support
  • A basic authentication provided using Traefik's Basic Auth middleware.

This setup, after configuring HTTPS certificates correctly, should be acceptable on the public internet.

However, it doesn't allow a user to sign-out due to the way browsers handle basic authentication.

You may want to try a more secure authentication setup such Authelia, Authentik or traefik-forward-auth. The OIDC auth example demonstrates a setup using Authelia.

See https://support.getgrist.com/self-managed for more information.