Component ยท Shared or other
ThunderID flow engine and executors
BOTH Component Identity
What it is
The ThunderID flow engine runs login and registration as step-by-step graphs of nodes. A flow can prompt for input, run a task, call another flow or finish. Agent Manager points its clients at the built-in default-flow.
Why it exists
Sign-in methods vary: passwords, social login, one-time codes. A graph engine lets them be combined without changing the server.
How it works
- The login screen sends POST /flow/execute repeatedly until the flow completes. This route needs no token.
- Node types are start, prompt, task execution, call (another flow) and end.
- Each task is run by an executor, such as credential check, OIDC or Google federation, OTP or passkey.
- Flows are referenced by handle. The default-flow handle is set in the bootstrap config.
Identity and access
It produces the proof of who the user is. When the flow completes, the OAuth server issues the code that leads to a token.
Key facts
- Endpoint
- POST /flow/execute
- Flow used
- default-flow
- Side
- Identity
- Namespace
- amp-thunder
Used by (2)
- called by ThunderID OAuth2/OIDC server authorize redirects to Gate which drives flow executein-process
- called by ThunderID Gate login SPA Login loopPOST /flow/execute