Skip to content

Commit 990cf81

Browse files
authored
Merge pull request #239 from minvws/proeftuin
Proeftuin
2 parents 87b23d1 + eee07e6 commit 990cf81

2 files changed

Lines changed: 212 additions & 327 deletions

File tree

app/services/client_oauth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,9 @@ def _verify_token(self, token: str) -> Dict[str, Any]:
9191
jwk_client = PyJWKClient(
9292
self.config.jwks_url, cache_keys=True, ssl_context=self._ssl_context
9393
)
94-
signing_key = jwk_client.get_signing_key_from_jwt(token).key
9594

9695
try:
96+
signing_key = jwk_client.get_signing_key_from_jwt(token).key
9797
claims = jwt.decode(
9898
token,
9999
signing_key,

0 commit comments

Comments
 (0)