UsernameClaim instead of Claim
This commit is contained in:
parent
627b733440
commit
56f08f7468
@ -21,7 +21,7 @@ type JWTAuth struct {
|
||||
CertsURL string `json:"certsurl"`
|
||||
Aud string `json:"aud"`
|
||||
Iss string `json:"iss"`
|
||||
Claim string `json:"claim"`
|
||||
UsernameClaim string `json:"usernameClaim"`
|
||||
Header string `json:"header"`
|
||||
remoteKeySet *oidc.RemoteKeySet
|
||||
init sync.Once
|
||||
|
||||
@ -116,7 +116,7 @@ func getAuthentication(flags *pflag.FlagSet, defaults ...interface{}) (settings.
|
||||
Aud: aud,
|
||||
Iss: iss,
|
||||
CertsURL: certsurl,
|
||||
Claim: claim,
|
||||
UsernameClaim: claim,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user