diff --git a/docker-jans-config-api/plugins/admin-ui/auiConfiguration.properties.tmpl b/docker-jans-config-api/plugins/admin-ui/auiConfiguration.properties.tmpl index f6b9af8a61a..5e42c9f9c29 100644 --- a/docker-jans-config-api/plugins/admin-ui/auiConfiguration.properties.tmpl +++ b/docker-jans-config-api/plugins/admin-ui/auiConfiguration.properties.tmpl @@ -1,7 +1,7 @@ # auth server authserver.clientId=%(admin_ui_client_id)s authserver.clientSecret=%(admin_ui_client_pw)s -authserver.authzBaseUrl=https://%(hostname)s/jans-auth/authorize.htm +authserver.authzBaseUrl=https://%(hostname)s/jans-auth/restv1/authorize authserver.scope=openid+profile+email+user_name authserver.redirectUrl=https://%(hostname)s/admin authserver.frontChannelLogoutUrl=https://%(hostname)s/admin/logout diff --git a/docker-jans-config-api/scripts/plugins.py b/docker-jans-config-api/scripts/plugins.py index fd1ee4800f3..d6f9f52eb0f 100644 --- a/docker-jans-config-api/scripts/plugins.py +++ b/docker-jans-config-api/scripts/plugins.py @@ -99,7 +99,7 @@ def read_from_file(self, path): def get_token_server_ctx(self): hostname = os.environ.get("CN_TOKEN_SERVER_BASE_HOSTNAME") or self.manager.config.get("hostname") - authz_endpoint = os.environ.get("CN_TOKEN_SERVER_AUTHZ_ENDPOINT") or "/jans-auth/authorize.htm" + authz_endpoint = os.environ.get("CN_TOKEN_SERVER_AUTHZ_ENDPOINT") or "/jans-auth/restv1/authorize" token_endpoint = os.environ.get("CN_TOKEN_SERVER_TOKEN_ENDPOINT") or "/jans-auth/restv1/token" introspection_endpoint = os.environ.get("CN_TOKEN_SERVER_INTROSPECTION_ENDPOINT") or "/jans-auth/restv1/introspection" userinfo_endpoint = os.environ.get("CN_TOKEN_SERVER_USERINFO_ENDPOINT") or "/jans-auth/restv1/userinfo"