Use the newly added method.

This commit is contained in:
Roland Hedberg 2014-12-15 08:47:11 +01:00
parent bce5e69b4e
commit 863b4a35e3
1 changed files with 1 additions and 1 deletions

View File

@ -755,7 +755,7 @@ class Client(oauth2.Client):
except KeyError:
args = {}
owner = self.keyjar.match_owner(path)
owner = self.endpoint2issuer(path, "userinfo_endpoint")
keys = self.keyjar.get_signing_key(_kty, owner, **args)
return _schema().from_jwt(resp.text, keys)