[ADF-4195] Automation tests for SSO login with implicitFlow false (#4410)

* [ADF-4195] Automation tests for SSO login with implicitFlow false

* rebase

* fix test sso implicit flow false

* lint fix

* fix test
This commit is contained in:
Marouan Bentaleb
2019-03-19 15:00:27 +00:00
committed by Eugenio Romano
parent a04077679c
commit 355971e0ad
5 changed files with 41 additions and 9 deletions

View File

@@ -188,7 +188,7 @@ export class LoginComponent implements OnInit {
onSubmit(values: any) {
this.disableError();
if (this.authService.isOauth() && this.authService.isSSODiscoveryConfigured()) {
if (this.authService.isOauth() && !this.authService.isSSODiscoveryConfigured()) {
this.errorMsg = 'LOGIN.MESSAGES.SSO-WRONG-CONFIGURATION';
this.isError = true;
} else {