Skip to content

Commit c57dd32

Browse files
kjetilkrubensworks
authored andcommitted
Constrain the size of the auth cookie
1 parent 125cd8a commit c57dd32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/authentication-oidc-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ describe('Authentication API (OIDC)', () => {
132132
})
133133

134134
it('should set the cookie', () => {
135-
expect(cookie).to.match(/connect.sid=/)
135+
expect(cookie).to.match(/connect.sid=\S{65,100}/)
136136
})
137137

138138
it('should set the cookie with HttpOnly', () => {

0 commit comments

Comments
 (0)