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-linux-setup config api prompt #2293

Merged
merged 2 commits into from
Sep 2, 2022
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion jans-linux-setup/jans_setup/setup_app/installers/jans.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def __repr__(self):
if Config.profile == 'jans':
txt += 'Install Fido2 Server'.ljust(30) + repr(Config.installFido2).rjust(35) + (' *' if 'installFido2' in Config.addPostSetupService else '') + "\n"
txt += 'Install Scim Server'.ljust(30) + repr(Config.install_scim_server).rjust(35) + (' *' if 'install_scim_server' in Config.addPostSetupService else '') + "\n"
txt += 'Install Jans Client Api'.ljust(30) + repr(Config.install_client_api).rjust(35) + (' *' if 'install_client_api' in Config.addPostSetupService else '') + "\n"
txt += 'Install Jans Client API'.ljust(30) + repr(Config.install_client_api).rjust(35) + (' *' if 'install_client_api' in Config.addPostSetupService else '') + "\n"
#txt += 'Install Oxd '.ljust(30) + repr(Config.installOxd).rjust(35) + (' *' if 'installOxd' in Config.addPostSetupService else '') + "\n"

if Config.profile == 'jans' and Config.installEleven:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ def promptForConfigApi(self):
if Config.installed_instance and Config.install_config_api:
return

promptForConfigApi = self.getPrompt("Install Jans Auth Config Api?",
promptForConfigApi = self.getPrompt("Install Jans Config API?",
self.getDefaultOption(Config.install_config_api)
)[0].lower()

Expand All @@ -607,7 +607,7 @@ def promptForConfigApi(self):

def prompt_for_client_api(self):

prompt = self.getPrompt("Install Jans Client Api?",
prompt = self.getPrompt("Install Jans Client API?",
self.getDefaultOption(Config.install_client_api)
)[0].lower()

Expand All @@ -617,7 +617,7 @@ def prompt_for_client_api(self):
Config.addPostSetupService.append('install_client_api')

if Config.install_client_api:
prompt = self.getPrompt(" Use Jans Storage for Client Api?", 'y')[0].lower()
prompt = self.getPrompt(" Use Jans Storage for Client API?", 'y')[0].lower()
if prompt == 'n':
Config.client_api_storage_type = 'h2'

Expand Down