beltram пре 3 година
родитељ
комит
2b1223a080
2 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 1
      acme/api/order.go
  2. 0 2
      authority/provisioner/dpop_options.go

+ 1 - 1
acme/api/order.go

@@ -295,7 +295,7 @@ func newAuthorization(ctx context.Context, az *acme.Authorization) error {
 			var targetTemplate = ""
 			switch typ {
 			case acme.WIREOIDC01:
-				targetTemplate = prov.GetOptions().GetDPOPOptions().OidcTarget
+				targetTemplate = prov.GetOptions().GetOIDCOptions().Provider.IssuerURL
 			case acme.WIREDPOP01:
 				targetTemplate = prov.GetOptions().GetDPOPOptions().DpopTarget
 			default:

+ 0 - 2
authority/provisioner/dpop_options.go

@@ -8,8 +8,6 @@ type DPOPOptions struct {
 	SigningKey string `json:"key"`
 	// URI template acme client must call to fetch the DPoP challenge proof (an access token from wire-server)
 	DpopTarget string `json:"dpop-target"`
-	// URI template acme client must call to fetch the OIDC challenge proof (an Id token)
-	OidcTarget string `json:"oidc-target"`
 }
 
 func (o *DPOPOptions) GetValidationExecPath() string {