From 863b4a35e34cdd11a271fbb783d617dd34eeda8d Mon Sep 17 00:00:00 2001 From: Roland Hedberg Date: Mon, 15 Dec 2014 08:47:11 +0100 Subject: [PATCH] Use the newly added method. --- src/oic/oic/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oic/oic/__init__.py b/src/oic/oic/__init__.py index 2982788..41318a1 100644 --- a/src/oic/oic/__init__.py +++ b/src/oic/oic/__init__.py @@ -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)