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
@@ -78,7 +78,7 @@ describe('OIDC error handling', function () {
78
78
it('should return a 401 error',()=>{
79
79
returnserver.get('/profile/')
80
80
.set('Authorization','Bearer abcd123')
81
-
.expect('WWW-Authenticate','Bearer realm="https://localhost:3457", scope="openid", error="invalid_token", error_description="Access token is not a JWT"')
81
+
.expect('WWW-Authenticate','Bearer realm="https://localhost:3457", scope="openid webid", error="invalid_token", error_description="Access token is not a JWT"')
82
82
.expect(401)
83
83
})
84
84
})
@@ -89,7 +89,7 @@ describe('OIDC error handling', function () {
89
89
it('should return a 401 error',()=>{
90
90
returnserver.get('/profile/')
91
91
.set('Authorization','Bearer '+expiredToken)
92
-
.expect('WWW-Authenticate','Bearer realm="https://localhost:3457", scope="openid", error="invalid_token", error_description="Access token is expired."')
92
+
.expect('WWW-Authenticate','Bearer realm="https://localhost:3457", scope="openid webid", error="invalid_token", error_description="Access token is expired."')
0 commit comments