mirror of
https://github.com/smallstep/certificates.git
synced 2024-11-11 07:11:00 +00:00
fix: challenge is '.token' and not '.id'
This commit is contained in:
parent
83f6be1f58
commit
74ddad69dc
@ -467,7 +467,7 @@ func wireDPOP01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO
|
|||||||
"--client-id",
|
"--client-id",
|
||||||
challengeValues.ClientID,
|
challengeValues.ClientID,
|
||||||
"--challenge",
|
"--challenge",
|
||||||
ch.ID,
|
ch.Token,
|
||||||
"--leeway",
|
"--leeway",
|
||||||
"360",
|
"360",
|
||||||
"--max-expiry",
|
"--max-expiry",
|
||||||
@ -500,15 +500,14 @@ func wireDPOP01Validate(ctx context.Context, ch *Challenge, db DB, jwk *jose.JSO
|
|||||||
|
|
||||||
err = cmd.Wait()
|
err = cmd.Wait()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf("access_token: %s, clientID: %s, cli: %s %s %s %s %s %s %s %s %s %s %s %s %s %s",
|
log.Printf("access_token: %s, cli: %s %s %s %s %s %s %s %s %s %s %s %s %s %s",
|
||||||
wireChallengePayload.AccessToken,
|
wireChallengePayload.AccessToken,
|
||||||
challengeValues.ClientID,
|
|
||||||
provisioner.GetOptions().GetDPOPOptions().GetValidationExecPath(),
|
provisioner.GetOptions().GetDPOPOptions().GetValidationExecPath(),
|
||||||
"verify-access",
|
"verify-access",
|
||||||
"--client-id",
|
"--client-id",
|
||||||
challengeValues.ClientID,
|
challengeValues.ClientID,
|
||||||
"--challenge",
|
"--challenge",
|
||||||
ch.ID,
|
ch.Token,
|
||||||
"--leeway",
|
"--leeway",
|
||||||
"360",
|
"360",
|
||||||
"--max-expiry",
|
"--max-expiry",
|
||||||
|
Loading…
Reference in New Issue
Block a user