Skip to content

Commit

Permalink
fix: invalid LDAP schema reading token_server client ID (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
iromli authored May 12, 2022
1 parent fb0e132 commit db4f080
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker-jans-persistence-loader/scripts/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,11 @@ def _update_jca_client():
def _update_token_server_client():
kwargs = {}
token_server_admin_ui_client_id = self.manager.config.get("token_server_admin_ui_client_id")

# admin-ui is not available
if not token_server_admin_ui_client_id:
return

id_ = f"inum={token_server_admin_ui_client_id},ou=clients,o=jans"

if self.backend.type in ("sql", "spanner"):
Expand Down

0 comments on commit db4f080

Please sign in to comment.