Files
dify/web/app
GareArc 1fd740cbbe fix(device): render sso_error via stable view so it actually displays
The prior fix set errMsg(ssoError) and router.replace(pathname) in the same
effect run. router.replace stripped the param and re-rendered, wiping the
just-set state and resetting view to code_entry — so the SSO error never
showed and the page silently bounced back to code entry.

Drive sso_error from a dedicated terminal error_sso view (matching the
existing error_* views), leave the non-sensitive param in the URL, and map
the code to friendly copy via a dispatch table. Add regression tests,
including one asserting router.replace is not called on mount.
2026-05-28 20:10:11 -07:00
..
2026-05-26 01:12:36 +00:00