2đź‘Ť
âś…
While it is not possible to have 2 different pipelines, you can certainly make use of the capabilities to extend the pipeline to consider both the “log in” and “registration” scenarios.
After the default pipeline function social.pipeline.social_auth.social_user
, all subsequent functions have access to the is_new
parameter, which is False
if the user was already in the database (login scenario) or True
if it must be created (register scenario). You can use this parameter to customize the logic in your own pipeline functions.
Relevant information here:
👤elas
Source:stackexchange.com