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(jans-cli-tui): LOCK OPA Configuration #8281

Merged
merged 1 commit into from
Apr 11, 2024
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
6 changes: 3 additions & 3 deletions jans-cli-tui/cli_tui/plugins/120_lock/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def create_widgets(self):
self.opa_config_base_url = common_data.app.getTitledText(
title=_("Base URL"),
name='baseUrl',
value=self.data.get('OpaConfiguration', {}).get('baseUrl', ''),
value=self.data.get('opaConfiguration', {}).get('baseUrl', ''),
style=cli_style.edit_text,
jans_help=_("Base URL for OPA"),
widget_style=cli_style.black_bg_widget
Expand All @@ -59,7 +59,7 @@ def create_widgets(self):
self.opa_config_accessToken = common_data.app.getTitledText(
title=_("Access Token"),
name='accessToken',
value=self.data.get('OpaConfiguration', {}).get('accessToken', ''),
value=self.data.get('opaConfiguration', {}).get('accessToken', ''),
style=cli_style.edit_text,
jans_help=_("Access token for OPA"),
widget_style=cli_style.black_bg_widget
Expand Down Expand Up @@ -150,7 +150,7 @@ def create_widgets(self):
),

Frame(
title=_("Opa Configuration"),
title=_("OPA Configuration"),
body=HSplit([self.opa_config_base_url, self.opa_config_accessToken]),
),

Expand Down