Skip to content

Consume Input in Authflow #4383

@louischan-oursky

Description

@louischan-oursky

Currently when we feed input to a authflow, we feed the same input indefinitely until the authflow no longer react. It is a problem when two consecutive steps consume the same input, for example, two consecutive step of identification: email in a signup flow. The second step will consume the same input, causing a duplicated identity error.

Conceptually, processing an input should be like consuming tokens in a parser. The consumed token will not be passed to the next parser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions