maykinmedia / mozilla-django-oidc-db

Database-backed settings for mozilla-django-oidc, with modified unique identifiers for users
MIT License
4 stars 0 forks source link

Generalize the authentication backend #101

Closed sergei-maertens closed 3 months ago

sergei-maertens commented 3 months ago

Partly closes #99

This PR builds on top of #100, which is responsible for storing which config to apply during the user authentication.

In this PR, that config is actually applied to modify the behaviour/connection based on the specific config class.

In the future, the config classes will be replaced by particular config instances.

The tests have been rewritten to be more decoupled from the implementation details.