We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c18d020 commit 07eb9a9Copy full SHA for 07eb9a9
server/auth/types/kerberos/routes.ts
@@ -49,10 +49,13 @@ export class KerberosAuthRoutes {
49
user = await this.securityClient.authinfo(request);
50
} catch (error) {
51
context.security_plugin.logger.error(`Failed authentication: ${error}`);
52
- return response.unauthorized({
53
- body: `Kerberos authentication failed ${error}`,
54
- headers: 'WWW-Authenticate: Negotiate',
55
- });
+ return response.unauthorized(
+ {
+ body: `Kerberos authentication failed ${error}`,
+ headers: {
56
+ 'www-authenticate': 'Negotiate',
57
+ },
58
+ });
59
}
60
61
// clear session
0 commit comments