authgear / authgear-server

Open source alternative to Auth0 / Firebase Auth
https://www.authgear.com
Apache License 2.0
81 stars 37 forks source link

Revise usage of Milestones in authflow #4165

Open tung2744 opened 5 months ago

tung2744 commented 5 months ago

Some milestones, such as MilestoneDoCreateIdentity, are used to track steps or determine whether an action have been done or not inside an intent. However, when there are nested steps inside the intent, milestones in nested steps could affect the parent and causing bugs.

Therefore, we should see if we can restructure the nodes such that intents are only finding milestones in the current flow, and do not nest into subflows.

linear[bot] commented 5 months ago

DEV-1245 Revise usage of Milestones in authflow