Skip to content
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

Commit 666d6f1

Browse files
committed
Removed unused cert from oic.provider
1 parent b67abbe commit 666d6f1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

oidc_example/op1/claims_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def application(environ, start_response):
184184
environ["oic.oas"] = OAS
185185

186186
LOGGER.info("path: %s" % path)
187-
if path in OAS.cert or path in OAS.jwk:
187+
if path in OAS.jwk:
188188
return static(environ, start_response, path)
189189
else:
190190
for regex, callback in URLS:

src/oic/oic/provider.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,6 @@ def __init__(
269269
self.userinfo = userinfo
270270
self.template_renderer = template_renderer
271271
self.baseurl = baseurl or name
272-
self.cert = [] # type: ignore # UNUSED?
273-
self.cert_encryption = [] # type: ignore # UNUSED?
274-
275272
self.cookie_name = "pyoidc"
276273
self.seed = b""
277274
self.sso_ttl = 0

0 commit comments

Comments
 (0)