Socket
Book a DemoInstallSign in
Socket

django-sessionprofile

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-sessionprofile

Keep track of Django user sessions

3.0.0
pipPyPI
Maintainers
1

===================== Django Sessionprofile

Keep track of Django user sessions.

|build-status| |code-quality| |black| |coverage| |docs|

|python-versions| |django-versions| |pypi-version|

django-sessionprofile is a library to track which user a django session belongs to. Possible useful scenario's for this information include:

  • Single-Sign-On (SSO) between different applications that can read Django's session cookie (same-origin setup)
  • Single Logout (SLO) initiated in another application, triggering logout in yours
  • Audit trail and security - allowing you to manage user sessions on other devices.

Usage and installation

Cheat sheet

#. pip install django-sessionprofile #. Add "sessionprofile" to your INSTALLED_APPS #. Add "sessionprofile.middleware.SessionProfileMiddleware" to the MIDDLEWARE setting, before Django's SessionMiddleware #. python manage.py migrate

Full instructions

See the documentation <https://django-sessionprofile.readthedocs.io/en/latest/>_ for more information, with more code-examples and context.

Credits

Many thanks go to Resolver Systems Ltd (now part of PythonAnywhere) who made the initial version of this library, specifically aimed at phpBB3.

.. |build-status| image:: https://github.com/modelbrouwers/django-sessionprofile/workflows/Run%20CI/badge.svg :alt: Build status :target: https://github.com/modelbrouwers/django-sessionprofile/actions?query=workflow%3A%22Run+CI%22

.. |code-quality| image:: https://github.com/modelbrouwers/django-sessionprofile/workflows/Code%20quality%20checks/badge.svg :alt: Code quality checks :target: https://github.com/modelbrouwers/django-sessionprofile/actions?query=workflow%3A%22Code+quality+checks%22

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://github.com/psf/black

.. |coverage| image:: https://codecov.io/gh/modelbrouwers/django-sessionprofile/branch/main/graph/badge.svg :target: https://codecov.io/gh/modelbrouwers/django-sessionprofile :alt: Coverage status

.. |docs| image:: https://readthedocs.org/projects/django-sessionprofile/badge/?version=latest :target: https://django-sessionprofile.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-sessionprofile.svg

.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-sessionprofile.svg

.. |pypi-version| image:: https://img.shields.io/pypi/v/django-sessionprofile.svg :target: https://pypi.org/project/django-sessionprofile/

Keywords

django

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.