Django 5.1+ ships with a LoginRequiredMiddleware and allows for views to be exempted via the login_not_required decorator (https://docs.djangoproject.com/en/6.0/topics/auth/default/#the-login-not-required-decorator). It would be great if the oidc login/callback views would utilize the decorator on Django 5.1+. Is this something you'd accept as a PR, or is this out of scope for this project?
Django 5.1+ ships with a
LoginRequiredMiddlewareand allows for views to be exempted via thelogin_not_requireddecorator (https://docs.djangoproject.com/en/6.0/topics/auth/default/#the-login-not-required-decorator). It would be great if the oidc login/callback views would utilize the decorator on Django 5.1+. Is this something you'd accept as a PR, or is this out of scope for this project?