From 95ff26506dcab6085b335850deaad459089c1d36 Mon Sep 17 00:00:00 2001 From: Travis Johnson Date: Thu, 25 May 2023 23:40:18 -0400 Subject: [PATCH] actually put the settings into the auther object --- cmd/config.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/cmd/config.go b/cmd/config.go index de079695..da9631d2 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -111,7 +111,13 @@ func getAuthentication(flags *pflag.FlagSet, defaults ...interface{}) (settings. checkErr(nerrors.New("you must set the flag 'auth.claim' for method 'jwt-header'")) } - auther = &auth.JWTAuth{} + auther = &auth.JWTAuth{ + Header: header, + Aud: aud, + Iss: iss, + CertsURL: certsurl, + Claim: claim, + } } if method == auth.MethodNoAuth {