Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit 5f6bcae

Browse files
committed
logging
1 parent 75d1806 commit 5f6bcae

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/oidcendpoint/oidc/registration.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ def client_registration_setup(self, request, new_id=True, set_secret=True):
387387
if set_secret:
388388
client_secret = self.add_client_secret(_cinfo, client_id, _context)
389389

390+
logger.debug("Stored client info in CDB under cid={}".format(client_id))
391+
390392
_context.cdb[client_id] = _cinfo
391393
_cinfo = self.do_client_registration(
392394
request,
@@ -407,6 +409,8 @@ def client_registration_setup(self, request, new_id=True, set_secret=True):
407409
if client_secret:
408410
_context.keyjar.add_symmetric(client_id, str(client_secret))
409411

412+
logger.debug("Stored updated client info in CDB under cid={}".format(client_id))
413+
logger.debug("ClientInfo: {}".format(_cinfo))
410414
_context.cdb[client_id] = _cinfo
411415

412416
# Not all databases can be sync'ed

0 commit comments

Comments
 (0)