Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: invalid LDAP schema reading token_server client ID #1321

Merged
merged 1 commit into from
May 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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