Skip to content

Need ability to customize logout function #22

Open
@radiophysicist

Description

@radiophysicist

Hello!

Recently I tried to use django-auto-logout to auto-terminate user sessions in my current django project.
It is also using django-oauth2-authcodeflow to autentificate users via Oauth2 provider.
In such a configuration it is not enough to just call to django.contrib.auth.logout() to terminate session.
It is necessary to notify auth provider on session termination using redirect to special URL (i.e. returning HttpResponseRedirect).

Please consider PR adding ability to specify custom function called when session termination is required:
#21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions