Skip to content

Commit

Permalink
fix: linux-setup don't use personCustomObjectClassList for RDBMS (ref:
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar authored Apr 19, 2022
1 parent 54847bc commit 4d8dff7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions jans-linux-setup/jans_setup/setup_app/installers/jans_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def render_import_templates(self):

self.role_scope_mappings()

Config.templateRenderingDict['person_custom_object_class_list'] = '[]' if Config.mappingLocations['default'] == 'rdbm' else '["jansCustomPerson", "jansPerson"]'

templates = [self.oxauth_config_json]
if Config.profile == 'jans':
templates += [self.ldif_people, self.ldif_groups]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,7 @@
"skipAuthorizationForOpenIdScopeAndPairwiseId": false,
"dynamicRegistrationScopesParamEnabled":true,
"dynamicRegistrationCustomObjectClass":"",
"personCustomObjectClassList":[
"jansCustomPerson",
"jansPerson"
],
"personCustomObjectClassList": %(person_custom_object_class_list)s,
"persistIdTokenInLdap":false,
"persistRefreshTokenInLdap":true,
"authenticationFiltersEnabled":false,
Expand Down

0 comments on commit 4d8dff7

Please sign in to comment.