From a12c60337ddc177e329eaebd30e5649ef030f8bf Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Tue, 22 Jan 2019 16:43:26 +0000 Subject: [PATCH] support for SSO settings (#905) --- src/app.config.json | 2 +- .../settings/settings.component.html | 60 ++++++++++++------- .../components/settings/settings.component.ts | 42 +++++++++++-- 3 files changed, 75 insertions(+), 29 deletions(-) diff --git a/src/app.config.json b/src/app.config.json index 3205c4963..dc8b4edc8 100644 --- a/src/app.config.json +++ b/src/app.config.json @@ -4,7 +4,7 @@ "providers": "ECM", "authType": "BASIC", "oauth2": { - "host": "http://localhost:8081/auth/realms/alfresco", + "host": "http://localhost:4200/auth/realms/alfresco", "clientId": "alfresco", "scope": "openid", "secret": "", diff --git a/src/app/components/settings/settings.component.html b/src/app/components/settings/settings.component.html index 0f9022415..9dd037030 100644 --- a/src/app/components/settings/settings.component.html +++ b/src/app/components/settings/settings.component.html @@ -23,14 +23,9 @@ (ngSubmit)="apply(form.value, form.valid)" >
- - + + ACS Repository URL + {{ 'APP.SETTINGS.INVALID-VALUE-FORMAT' | translate }} @@ -40,6 +35,23 @@
+
+ + Authentication Type + + Basic + OAuth (Identity Service) + + +
+ +
+ + Alfresco Identity Service URL + + +
+