Fix bug affecting Azure OIDC authentication ( and most likely others )

This commit is contained in:
2025-06-17 20:21:36 +01:00
parent efa0cd708b
commit cd307f88a1
3 changed files with 631 additions and 138 deletions
+5
View File
@@ -529,6 +529,11 @@ func TestSessionFixationAttack(t *testing.T) {
initComplete: make(chan struct{}),
sessionManager: sm,
}
// Set up the token verifier and JWT verifier
tOidc.jwtVerifier = tOidc
tOidc.tokenVerifier = tOidc
close(tOidc.initComplete)
// Now create a victim's request with the attacker's cookies