Open Alwinator opened 6 months ago
Fixed it by adding
urlpatterns = [
...
path("logout/", OIDCLogoutView.as_view(), name="oidc_logout")
]
to my urls.py, however I think that should also work without because I have also added
path('oidc/', include('mozilla_django_oidc.urls')),
before.
I am using mozilla-django-oidc version 4.0.1 and Django 5.0.3. I get the error when I request the view from the browser. Without the oidc_logout form it works fine. I think it is really strange that oidc_authentication_init works, but oidc_logout does not.
This error message is caused by the following view: