mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4810] fix sso settings (#5108)
* fix sso settings * fix test * update-js-api * update-js-api * invert test order for some reason
This commit is contained in:
@@ -128,6 +128,13 @@
|
||||
<input id="logout-url" matInput placeholder="{{ 'CORE.HOST_SETTINGS.REDIRECT_LOGOUT'| translate }}"
|
||||
name="redirectUriLogout" formControlName="redirectUriLogout">
|
||||
</mat-form-field>
|
||||
|
||||
<mat-form-field class="adf-full-width" floatLabel="Public Urls">
|
||||
<mat-label>{{ 'CORE.HOST_SETTINGS.PUBLIC_URLS'| translate }}</mat-label>
|
||||
<input id="public-url" matInput placeholder="{{ 'CORE.HOST_SETTINGS.PUBLIC_URLS'| translate }}"
|
||||
name="publicUrls" formControlName="publicUrls">
|
||||
</mat-form-field>
|
||||
|
||||
</div>
|
||||
</ng-container>
|
||||
<mat-card-actions class="adf-actions">
|
||||
|
@@ -147,7 +147,8 @@ export class HostSettingsComponent implements OnInit {
|
||||
scope: [oauth.scope, Validators.required],
|
||||
secret: oauth.secret,
|
||||
silentLogin: oauth.silentLogin,
|
||||
implicitFlow: oauth.implicitFlow
|
||||
implicitFlow: oauth.implicitFlow,
|
||||
publicUrls: [oauth.publicUrls]
|
||||
});
|
||||
}
|
||||
|
||||
@@ -269,6 +270,10 @@ export class HostSettingsComponent implements OnInit {
|
||||
return this.oauthConfig.get('redirectUri');
|
||||
}
|
||||
|
||||
get publicUrls(): AbstractControl {
|
||||
return this.oauthConfig.get('publicUrls');
|
||||
}
|
||||
|
||||
get redirectUriLogout(): AbstractControl {
|
||||
return this.oauthConfig.get('redirectUriLogout');
|
||||
}
|
||||
|
Reference in New Issue
Block a user