add unit tests to oidc verifier
This commit is contained in:
parent
9c7bcae539
commit
d877539236
4 changed files with 515 additions and 8 deletions
|
@ -17,7 +17,7 @@ type KeySet struct{}
|
|||
|
||||
// VerifySignature implments op.KeySet.
|
||||
func (KeySet) VerifySignature(ctx context.Context, jws *jose.JSONWebSignature) (payload []byte, err error) {
|
||||
if ctx.Err() != nil {
|
||||
if err = ctx.Err(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue