pull/1671/head
beltram 1 year ago committed by Herman Slatman
parent 036a144e09
commit 2b1223a080
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

@ -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:

@ -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 {

Loading…
Cancel
Save