T
T
tytar2016-03-04 19:55:41
Django
tytar, 2016-03-04 19:55:41

Cross-site authorization for multiple sites in django?

In general, there are several sites on different domains on django. It is necessary to implement something similar to Habré - a central server for authorization, like id.tmtm.ru. On which you can register, including through various social networks, and then, without repeated requests for soap / password, go to "friendly" sites.
Tell me where to look, in which direction, maybe there are ready-made implementations?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
marazmiki, 2016-03-04
@tytar

This is called SSO . Of course, there are ready-made implementations, just use the warehouse search . From personal experience: django-simple-sso . For some reason, there is an old version in the warehouse and pypi, but, judging by the github , the project is alive .

S
Sergey Nalomenko, 2014-12-12
@nalomenko

Are you sure you included all styles/scripts? And the paths to them are also correct?
I think they won’t help you here, except for advice to read the documentation (at least on plugin initialization):

<!-- Core CSS file -->
<link rel="stylesheet" href="path/to/photoswipe.css"> 

<!-- Skin CSS file (optional)
     In folder of skin CSS file there are also:
     - .png and .svg icons sprite, 
     - preloader.gif (for browsers that do not support CSS animations) -->
<link rel="stylesheet" href="path/to/default-skin/default-skin.css"> 

<!-- Core JS file -->
<script src="path/to/photoswipe.min.js"></script> 

<!-- UI JS file -->
<script src="path/to/photoswipe-ui-default.min.js"></script>

Here everything is described in more detail. If there are problems with understanding fragments of the text in English, I can only recommend using the Google translator :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question