actually put the settings into the auther object

This commit is contained in:
Travis Johnson 2023-05-25 23:40:18 -04:00
parent ff7201c00c
commit 95ff26506d

View File

@ -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 {