Newer Logto versions redirect to /register?app_id=... instead of /sign-in?first_screen=register. Check the pathname in addition to the query param so the registration form shows correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>