Skip to content

Support for login_not_required on Django 5.1+ #581

Description

@apollo13

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions