Hello,
I recently migrated 1flow from DSA to PSA, following the official doc and this one as a complement.
I cleared all sessions.
After that, I'm unable to signin with any social account (tested twitter & googleo2). I'm always redirected to the LOGIN_ERROR url, but there is no message, no exception, nothing.
What is strange is that associating social accounts to a local one works perfectly, so API keys & secrets name change typos seem to be out of cause.
What I tried :
- using PSA latest from PyPI, and @master from github.
- removing all my pipeline functions. This lead me to fix portability bugs (backend classes name changes…), but even with only the default pipeline left untouched, I still cannot signin.
Settings files:
The only thing I did not set is SOCIAL_AUTH_URL_NAMESPACE = 'social' because I don't know if I need a custom namespace or not; I guessed not, because association/disconnect works as is.
I've started to print() everything at diverse locations of PSA's do_complete() and other functions, without any relevant result. I've even re-implemented a debug() pipeline fuction, but the pipeline isn't entered at all (the function is not called, do_complete() returns no user before).
Any hint on what I could search / change / do to find where the issue comes from ?
My hint is that everything worked fine with DSA ;-)
PS: I use Django 1.6. we had mongodb in the past but DSA tables were stored in PostgreSQL; now i've nearly switched all back to PG only, so there should be nothing special about PSA on this side.
thanks & best regards,
Hello,
I recently migrated 1flow from DSA to PSA, following the official doc and this one as a complement.
I cleared all sessions.
After that, I'm unable to signin with any social account (tested twitter & googleo2). I'm always redirected to the
LOGIN_ERRORurl, but there is nomessage, no exception, nothing.What is strange is that associating social accounts to a local one works perfectly, so API keys & secrets name change typos seem to be out of cause.
What I tried :
Settings files:
The only thing I did not set is
SOCIAL_AUTH_URL_NAMESPACE = 'social'because I don't know if I need a custom namespace or not; I guessed not, because association/disconnect works as is.I've started to print() everything at diverse locations of PSA's
do_complete()and other functions, without any relevant result. I've even re-implemented adebug()pipeline fuction, but the pipeline isn't entered at all (the function is not called,do_complete()returns no user before).Any hint on what I could search / change / do to find where the issue comes from ?
My hint is that everything worked fine with DSA ;-)
PS: I use Django 1.6. we had mongodb in the past but DSA tables were stored in PostgreSQL; now i've nearly switched all back to PG only, so there should be nothing special about PSA on this side.
thanks & best regards,