actually put the settings into the auther object
This commit is contained in:
parent
ff7201c00c
commit
95ff26506d
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user