For the complete documentation index, see llms.txt. This page is also available as Markdown.

Basic with Redis

Basic authentication with Redis

Basic authentication is a simple protocol that uses HTTP headers and the browser to authenticate users. User credentials are sent to the server in the Authorization header with user:password base64-encoded:

Authorization: Basic dXNlcjpwYXNzd29yZA==

See Provisioning users for how to hash passwords, structure user records, and store them in Redis.

Login experience

When accessing Datashare, the browser prompts with its native basic-auth popup:

Screenshot of an 'authentication required' window with username and password fields and 'Cancel' and 'OK' buttons
basic auth popup

There is no sign-out: users remain logged in until the browser is closed.

Example

Launching Datashare with Docker and the basic-auth filter backed by Redis:

Last updated