Skip to content

Use ENGINE if specified #85

@rissson

Description

@rissson

The current behaviour is to use the postgres backend bundled with django. However, for custom backends, like custom credentials fetching, or credentials reload at runtime, one needs to override both the DatabaseLayer and the PostgresChannelLayer. An example is available at https://github.com/goauthentik/authentik/blob/e476db13e56addcb88a3170ba27ce7dd0ddc5c6b/authentik/root/channels.py

It would be great if that part of the code was a bit re-organised so that overriding the backend is easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions