A
A
Alexander Alexandrov2015-02-26 21:58:46
Django
Alexander Alexandrov, 2015-02-26 21:58:46

How to do Django + WP authentication?

On the subdomain maps.site.ru there is a map made on umap + django. The project is open. Links below.
By default, umap is able to start on OAuth, models. In the settings like this:
AUTHENTICATION_BACKENDS = (
'social.backends.github.GithubOAuth2',
.....
'django.contrib.auth.backends.ModelBackend'
)
the site itself is on WP, and I want to ask respected pythonists if there is a corresponding django .contrib.auth.backends or social.backends to make authentication so that WP logged in to site.ru will automatically log in to maps.site.ru.
Sources: https://bitbucket.org/yohanboniface/umap
Online:
Project built on:
https://github.com/yohanboniface/Leaflet.Storage
https://github.com/yohanboniface/django-leaflet-storage
Please do not hit hard with your feet, rails, php, but I did not have a chance to study Python infrastructure. Superficial googling did not reveal a simple way, so I turn to you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cyril, 2015-03-05
@SaulTigh

You may need SSO . For django, there is django-simple-sso .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question