diff --git a/palvelutarjotin/settings.py b/palvelutarjotin/settings.py index 533a0daa..29c98682 100644 --- a/palvelutarjotin/settings.py +++ b/palvelutarjotin/settings.py @@ -338,7 +338,7 @@ def sentry_traces_sampler(sampling_context: SamplingContext) -> float: AUTHENTICATION_BACKENDS = [ "axes.backends.AxesBackend", "helusers.tunnistamo_oidc.TunnistamoOIDCAuth", # For django-admin Keycloak login - "django.contrib.auth.backends.ModelBackend", + "helusers.auth.HelusersModelBackend", "palvelutarjotin.oidc.BrowserTestAwareJWTAuthentication", "palvelutarjotin.oidc.GraphQLApiTokenAuthentication", ] diff --git a/requirements-dev.txt b/requirements-dev.txt index 4a318e8f..82fae2d6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -379,9 +379,9 @@ parameterized==0.9.0 \ --hash=sha256:4e0758e3d41bea3bbd05ec14fc2c24736723f243b28d702081aef438c9372b1b \ --hash=sha256:7fc905272cefa4f364c1a3429cbbe9c0f98b793988efb5bf90aac80f08db09b1 # via -r requirements-dev.in -pip-tools==7.5.2 \ - --hash=sha256:2d64d72da6a044da1110257d333960563d7a4743637e8617dd2610ae7b82d60f \ - --hash=sha256:2fe16db727bbe5bf28765aeb581e792e61be51fc275545ef6725374ad720a1ce +pip-tools==7.5.3 \ + --hash=sha256:3aac0c473240ae90db7213c033401f345b05197293ccbdd2704e52e7a783785e \ + --hash=sha256:8fa364779ebc010cbfe17cb9de404457ac733e100840423f28f6955de7742d41 # via -r requirements-dev.in pluggy==1.6.0 \ --hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \ diff --git a/requirements.txt b/requirements.txt index 5885ebed..621ffacf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -348,9 +348,9 @@ django-health-check==3.20.0 \ --hash=sha256:bcb2b8f36f463cead0564a028345c5b17e2a2d18e9cc88ecd611b13a26521926 \ --hash=sha256:cd69ac5facf73fe7241d9492d939b57bd20e24f46c4edea91e6a900bf22c2d8e # via -r requirements.in -django-helusers==0.14.0 \ - --hash=sha256:424f97e7aa6792ae255de56344f765795444849ea82e9d4e01666494c28e960c \ - --hash=sha256:79b922d51278a9e9793a00279782e5455b72e9e9d0f261dd17be2f0dbcbaa1f9 +django-helusers==1.0.0 \ + --hash=sha256:0e33e238347a4088927675574a7dad179ee1f9d9e958daecfa4862ad6f63f79c \ + --hash=sha256:c18ff8ff0ff8fb72c2b802e005c680d4d477273b705a5c524aaff31c665d8e25 # via # -r requirements.in # helsinki-profile-gdpr-api