You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…307)
Fixes#304
Unblocks #298
After logging in, the login flow should redirect to a whatever path is specified by the `?redirect` query parameter. This is important for cases like #298 - where we need to set `?redirect=%2Fcli_auth`, but also really any case where the user is linked and might have to go back to the login screen.
The fix is simple - just check if the `redirect` query parameter is set, and if it is, use that as the path to redirect to on success. Also adds a test case - we had one checking that we redirect to the default (root `/`) url, but not one of the `?redirect` param
Our login page takes a
?redirect
parameter, which is supposed to specify the landing page after the login flow completes.However, this not working as expected, and always takes the user to

/projects
:This is a blocker for #298 because that relies on
?redirect=%2Fcli_auth
to work correctly.The text was updated successfully, but these errors were encountered: