Fixed code flow switch setting

This commit is contained in:
Vito Albano
2023-12-14 17:22:01 +00:00
committed by VitoAlbano
parent b4636bc7c2
commit 50a1c03e3a
2 changed files with 5 additions and 3 deletions

View File

@@ -66,7 +66,8 @@ export class SettingsPage {
silentLogin = true,
implicitFlow = true,
clientId?: string,
logoutUrl: string = '/logout'
logoutUrl: string = '/logout',
codeFlow = true
) {
await this.goToSettingsPage();
await this.setProvider('ECM');
@@ -76,6 +77,7 @@ export class SettingsPage {
await this.setIdentityHost(identityHost);
await this.setSilentLogin(silentLogin);
await this.setImplicitFlow(implicitFlow);
await this.setCodeFlow(codeFlow);
await this.setClientId(clientId);
await this.setLogoutUrl(logoutUrl);
await this.clickApply();
@@ -100,7 +102,7 @@ export class SettingsPage {
await this.setSilentLogin(silentLogin);
await this.setCodeFlow(false);
await this.setImplicitFlow(implicitFlow);
await this.setCodeFlow(true);
await this.setCodeFlow(codeFlow);
await this.setClientId(clientId);
await this.setLogoutUrl(logoutUrl);
await this.clickApply();