Socket
Socket
Sign inDemoInstall

django-admin-oauth-sessions

Package Overview
Dependencies
2
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    django-admin-oauth-sessions

A django Project for custom authentication for sso tokens


Maintainers
1

Readme

=========================== Django Admin Oauth Sessions

.. image:: https://img.shields.io/pypi/v/django_admin_oauth_sessions.svg :target: https://pypi.python.org/pypi/django_admin_oauth_sessions

.. image:: https://readthedocs.org/projects/django-admin-oauth-sessions/badge/?version=latest :target: https://django-admin-oauth-sessions.readthedocs.io/en/latest/?version=latest :alt: Documentation Status

A django Project for custom authentication for sso tokens

Features

  • TODO

Credits

This package was created with Cookiecutter_ and the audreyr/cookiecutter-pypackage_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage

django_admin_oauth_sessions is a Django app to validate SSO tokens.

Quick start

  1. Add "django_admin_auth_keycloak" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [ ... 'django_admin_oauth_sessions', ]

  2. Add "DjangoAdminOAuthSessionMiddleware" in your MIDDLEWARE in settings file::

    MIDDLEWARE = [ ... 'django_admin_oauth_sessions.django_admin_oauth_sessions.DjangoAdminOAuthSessionMiddleware', ]

  3. Update the logout url in urls.py as::

    path('admin/logout/', logout_view, name='logout') import logout_view from django_admin_oauth_sessions e.g from django_admin_oauth_sessions.views import logout_view

  4. Start the development server::

    visit http://localhost:8000/admin/ to create a django_admin_oauth_sessions (you'll need the Admin app enabled).

======= History

0.1.0 (2022-03-02)

  • First release on PyPI.

Keywords

FAQs


Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc