File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -49,13 +49,12 @@ export class KerberosAuthRoutes {
4949 user = await this . securityClient . authinfo ( request ) ;
5050 } catch ( error ) {
5151 context . security_plugin . logger . error ( `Failed authentication: ${ error } ` ) ;
52- return response . unauthorized (
53- {
54- body : `Kerberos authentication failed ${ error } ` ,
55- headers : {
56- 'www-authenticate' : 'Negotiate' ,
57- } ,
58- } ) ;
52+ return response . unauthorized ( {
53+ body : `Kerberos authentication failed ${ error } ` ,
54+ headers : {
55+ 'www-authenticate' : 'Negotiate' ,
56+ } ,
57+ } ) ;
5958 }
6059
6160 // clear session
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export const configSchema = schema.object({
146146 } ) ,
147147 kerberos : schema . object ( {
148148 jwt_siging_key : schema . string ( {
149- defaultValue : '00000000000000000000000000000000 ' ,
149+ defaultValue : 'secret share between opensearch and dashboards ' ,
150150 minLength : 32 ,
151151 } ) ,
152152 } ) ,
You can’t perform that action at this time.
0 commit comments