update some op interfaces

This commit is contained in:
Livio Amstutz 2020-09-15 07:25:44 +02:00
parent 45230569d3
commit 8790b54e0d
11 changed files with 348 additions and 400 deletions

View file

@ -155,6 +155,7 @@ func NewRelayingParty(config *Configuration, options ...Option) (RelayingParty,
return nil, err
}
rp.oauthConfig.Endpoint = endpoints.Endpoint
rp.endpoints = endpoints
}
if rp.errorHandler == nil {

View file

@ -109,6 +109,9 @@ func NewIDTokenVerifier(issuer, clientID string, keySet oidc.KeySet) IDTokenVeri
clientID: clientID,
keySet: keySet,
offset: 5 * time.Second,
nonce: func(_ context.Context) string {
return ""
},
}
}