mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix: redirect to login on gitauth invalid session (#7416)
This commit is contained in:
@ -876,7 +876,7 @@ func TestWorkspaceAgentsGitAuth(t *testing.T) {
|
||||
}},
|
||||
})
|
||||
resp := coderdtest.RequestGitAuthCallback(t, "github", client)
|
||||
require.Equal(t, http.StatusUnauthorized, resp.StatusCode)
|
||||
require.Equal(t, http.StatusSeeOther, resp.StatusCode)
|
||||
})
|
||||
t.Run("AuthorizedCallback", func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
Reference in New Issue
Block a user