Hi Constantine,

Do you know how to implement this? I'd need to login the user in a domain 
that is not the one the view was reached from.

Could it be building a custom authentication backend that somehow logs the 
user in all the sites?




El domingo, 2 de julio de 2017, 0:16:10 (UTC+2), Constantine Covtushenko 
escribió:
>
> Hello Pablo,
>
> +1 to your solution
>
> Regards,
> Constantine C.
>
> On Fri, Jun 30, 2017 at 9:06 AM, Pablo Camino Bueno <[email protected] 
> <javascript:>> wrote:
>
>> Hello,
>>
>> I'm using Django Sites framework to hadle different sites, with the same 
>> users. 
>>
>> I'd like to add a link to switch between my sites, but I don't want to 
>> get redirected to login view. What is the best way? should I add a view 
>> that logs the user in the destination site and redirect?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/896d69c6-40da-4c85-bb0d-91c589ba7924%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/896d69c6-40da-4c85-bb0d-91c589ba7924%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Sincerely yours,
> Constantine C
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2bd9ce16-44e7-4f4f-91e6-3dd0cdd14fb5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to