Merge remote-tracking branch 'origin/service-accounts' into service-accounts

This commit is contained in:
Livio Amstutz 2020-09-10 16:24:29 +02:00
commit f8707958fc
4 changed files with 60 additions and 35 deletions

View file

@ -238,6 +238,10 @@ func (p *DefaultOP) HandleDiscovery(w http.ResponseWriter, r *http.Request) {
Discover(w, CreateDiscoveryConfig(p, p.Signer()))
}
func (p *DefaultOP) Probes() []ProbesFn {
return nil
}
func (p *DefaultOP) VerifySignature(ctx context.Context, jws *jose.JSONWebSignature) ([]byte, error) {
keyID := ""
for _, sig := range jws.Signatures {