Skip to content

Better document how the partial pipeline should be handeled #1127

Open
@PetrDlouhy

Description

@PetrDlouhy

I am trying to get social login working together with django-two-factor-auth (so that it requires additional authentication step for users with 2FA enabled).
I am now stuck for several hours on this step from documentation: Partial Pipeline

There is written:

When it’s time to resume the process just redirect the user to /complete// or /disconnect// view. The pipeline will resume in the same function that cut the process.

I have already figured out, that it is not very precise description, because I have to pass the partial_token token to that URL.
But I am still stuck on the fact, that the pipeline is returning to the same (two factor authentication) step again and again.
To overcome this I am trying to store somewhere the information that the user has been authenticated by 2FA, but I don't know how to access the pipeline correctly or if I am not doing it completely wrong.

I would be glad if this is documented more deeply, possibly with some examples. I could also help to extend the documentation if I know how to implement this correctly.

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