fix tests with VerifyIdToken

This commit is contained in:
Livio Amstutz 2020-08-03 15:46:20 +02:00
parent ee62bffed4
commit 63fda45cfd
3 changed files with 6 additions and 3 deletions

View file

@ -170,7 +170,7 @@ func (s *AuthStorage) GetKeySet(_ context.Context) (*jose.JSONWebKeySet, error)
pubkey := s.key.Public()
return &jose.JSONWebKeySet{
Keys: []jose.JSONWebKey{
jose.JSONWebKey{Key: pubkey, Use: "sig", Algorithm: "RS256", KeyID: "1"},
{Key: pubkey, Use: "sig", Algorithm: "RS256", KeyID: "1"},
},
}, nil
}