rhythmic-stone-34843
02/03/2025, 9:35 AM<http://app1.example.com|app1.example.com>
(/ui/login?flow=b4692...
)
2. open browser tab 2 to start another flow <http://app2.example.com|app2.example.com>
(/ui/login?flow=a6065...
)
3. complete login flow 1 via SSO in tab1 (success)
4. complete login flow 2 via SSO in tab2 (fail - CSRF error with unformatted ui error from /ui/b2b-sso/convert-flow?...
)
Something similar happens via password login also, where the completed flow in tab 1 honors the return_to initialized with the flow, but completing the other flow in tab 2 doesn't - instead tab 2 uses default redirect configured in the project.
Please let me know of any bug, known issue, or possible resolution here. It could be an edge case scenario, but if a user happens to open multiple apps on the same domain without being logged in, it can result in a bumpy experience.gray-library-49237
02/03/2025, 1:52 PM"messages": [
{
"id": 4000001,
"text": "A valid session was detected and thus login is not possible. Did you forget to set `?refresh=true`?",
"type": "error",
"context": {
"reason": "A valid session was detected and thus login is not possible. Did you forget to set `?refresh=true`?"
}
}
]