Skip to content

Cannot login with social account anymore after migration from DSA (but association is OK) #444

@Karmak23

Description

@Karmak23

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions