mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-14 04:07:46 +00:00
Fix bug affecting Azure OIDC authentication ( and most likely others )
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user