okay, i made it work like it already should have before my posting .. if 
only there was no typo in my secret key and askbot was not setting the 
session serializer to PickleSerializer

Works great now!

Am Montag, 19. März 2018 12:39:16 UTC+1 schrieb Andy:
>
> I want to have some sort of SingleSignOn for my application and a forum 
> based on askbot (also Django).
> I built a REST API to get the session from my application and want to 
> replicated and also get the user from inside askbot.
>
> This kind of works, but i cannot decode the session inside the forum.
> AFAIK Django uses the settings.SECRET_KEY for jobs like this. I set the 
> same key in both applications, but as soon as Django tries to validated the 
> sessions data with its hash, it will compute a wrong hash and discard the 
> data.
>
> So whats needed for 2 Django apps to actually be able to have the same 
> hashing methods?
>
> Bot applications are powerd by Django 1.11.11 and have the same secret 
> key, but it looks like im missing another ingredient. 
>

-- 
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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/736ba882-1146-4a3d-bd2b-8b915f126dff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to