Skip to content

Commit

Permalink
fix: jans-linux-setup config-api scope type oauth (#2318)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Sep 7, 2022
1 parent 56a33c4 commit 8e48d71
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,10 @@ def generate_configuration(self):
try:
cfg_yml = self.read_config_api_swagger()
scopes_def = cfg_yml['components']['securitySchemes']['oauth2']['flows']['clientCredentials']['scopes']
scope_type = cfg_yml['components']['securitySchemes']['oauth2']['type']
except:
scopes_def = {}
scope_type = 'oauth2'

scope_type = 'oauth'
self.check_clients([('jca_client_id', '1800.')])

if not Config.get('jca_client_pw'):
Expand Down

0 comments on commit 8e48d71

Please sign in to comment.