Fix audience to fix ca tests.
This commit is contained in:
parent
511e1a9e23
commit
2b2598c695
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ func generateOTT(subject string) string {
|
|||
Issuer: "mariano",
|
||||
NotBefore: jwt.NewNumericDate(now),
|
||||
Expiry: jwt.NewNumericDate(now.Add(time.Minute)),
|
||||
Audience: []string{"https://ca/sign"},
|
||||
Audience: []string{"step-certificate-authority"},
|
||||
}
|
||||
raw, err := jwt.Signed(sig).Claims(cl).CompactSerialize()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue