All Projects → imanhodjaev → django-auth0

imanhodjaev / django-auth0

Licence: other
Auth0 authentication backend for awesome Django apps

Programming Languages

python
139335 projects - #7 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to django-auth0

food-help
A clone of popular food and business review web app yelp
Stars: ✭ 24 (-57.89%)
Mutual labels:  backend
mangooio
An Intuitive, Lightweight, High Performance Full Stack Java Web Framework.
Stars: ✭ 52 (-8.77%)
Mutual labels:  backend
shariff-backend-node
Node.js (hapi) backend for Shariff. Shariff enables website users to share their favorite content without compromising their privacy.
Stars: ✭ 17 (-70.18%)
Mutual labels:  backend
nestjs-auth0
An example NestJS application that uses Auth0 via Passport for authentication.
Stars: ✭ 148 (+159.65%)
Mutual labels:  auth0
TIGER
implement a full compiler based on c++ 11
Stars: ✭ 17 (-70.18%)
Mutual labels:  backend
theme
Nützliche Verwaltung von Projektdateien (z. B. Assets, Sprachdateien, Funktionen und Klassen) für Frontend und Backend.
Stars: ✭ 46 (-19.3%)
Mutual labels:  backend
student-management-system
Management system for students of our free coding school.
Stars: ✭ 110 (+92.98%)
Mutual labels:  backend
tinyhttp
🦕 Deno port of tinyhttp, 0-legacy, tiny & fast web framework
Stars: ✭ 84 (+47.37%)
Mutual labels:  backend
celery-priority-tasking
This is a prototype to schedule jobs in the backend based on some priority using Rabbitmq and Celery.
Stars: ✭ 28 (-50.88%)
Mutual labels:  backend
plain-free-bootstrap-admin-template
Free Bootstrap 5 Admin and Dashboard Template that comes with all essential dashboard components, elements, charts, graph and application pages. Download now for free and use with personal or commercial projects.
Stars: ✭ 141 (+147.37%)
Mutual labels:  backend
mianshiya
干净免费的面试刷题网站,帮助大家拿到满意的 offer!
Stars: ✭ 190 (+233.33%)
Mutual labels:  backend
reactivesearch-auth0-example
An example app on how to add authentication 🔒 to reactivesearch 🔍 apps using auth0
Stars: ✭ 24 (-57.89%)
Mutual labels:  auth0
yayd
youtube-dl backend in Rust, aka youtube & co downloader
Stars: ✭ 32 (-43.86%)
Mutual labels:  backend
profile-store
Store profile links of people you admire, at one place. Made using MERN stack.
Stars: ✭ 37 (-35.09%)
Mutual labels:  backend
nestjs-auth0
Nestjs + Auth0
Stars: ✭ 80 (+40.35%)
Mutual labels:  auth0
backends
monorepo for republik, publikator and assets backends based on NodeJS providing the GraphQL API used to power republik.ch.
Stars: ✭ 40 (-29.82%)
Mutual labels:  backend
wulkanowy-web
🌋 Przeglądarkowy klient dzienniczka VULCAN UONET+ dla ucznia i rodzica
Stars: ✭ 12 (-78.95%)
Mutual labels:  backend
auth0-jquery-samples
Auth0 Integration Samples for jQuery
Stars: ✭ 14 (-75.44%)
Mutual labels:  auth0
full stack knowledge list
full_stack_knowledge_list,开发知识体系,主要是全栈开发知识体系。 目的:每一个开发人员都应该形成自己的知识体系,做到提纲挈领。在设计代码,聊技术,面试,系统结构设计,架构设计等时候,能够游刃有余,充满自信。 特点: 1、前端领域:Html和css基础,JavaScript,计算机基础,框架和类库,前端工程,项目构建,算法与数据结构等。 2、后端领域:欢迎补充。。。
Stars: ✭ 26 (-54.39%)
Mutual labels:  backend
auth0-golang-api-samples
Auth0 Integration Samples for Go REST API Services
Stars: ✭ 93 (+63.16%)
Mutual labels:  auth0

django-auth0

Code Health https://travis-ci.org/imanhodjaev/django-auth0.png?branch=master

Django Auth0 authentication backend Backend implemented against Auth0 Regular Python application

Please use official tutorial and libraries from Auth0 https://auth0.com/docs/quickstart/webapp/django/01-login

Quickstart

  • Install django-auth0 $ pip install django-auth0
  • Add django_auth0 to INSTALLED_APPS
  • Add django_auth0.auth_backend.Auth0Backend to AUTHENTICATION_BACKENDS
  • Add django_auth0.context_processors.auth0 to CONTEXT_PROCESSORS so necessary template context will be provided
  • Include callback urls

Update AUTH0_CALLBACK_URL in settings.py to the following if want to use default authentication handler

  • Add Auth0 client side JavaScript and initialize it

Options:

  1. AUTH0_CLIENT_ID - Auth0 client app id,
  2. AUTH0_SECRET - Auth0 app secret,
  3. AUTH0_DOMAIN - Auth0 subdomain YOU_APP.auth0.com.
  4. AUTH0_CALLBACK_URL - Auth0 callback url is full url to your callback view like https://YOUR_DOMAIN/CALLBACK
  5. AUTH0_SUCCESS_URL - Url to redirect once you login successfully

Overriding callback view Default callback view looks like this so you can always write your own and set AUTH0_CALLBACK_URL to your custom view it should be url name.

Sample application is at https://github.com/imanhodjaev/auth0-sample

TODO

  • Improve tests,
  • Add Auth0 user profile model,
  • Add support for settings from Auth0,
  • Move string literals to configuration file

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements-test.txt
(myenv) $ python runtests.py

Credits

Tools used in rendering this package:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].