mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACA-2755] [SSO] Unable to access a private url after a public url was loaded in the same browser tab (#5363)
* If silentlogin do implicitLogin * If silentlogin do implicitLogin * Unit tests * Unit tests Trigger new run * Authguard should return true for canActive * adjust unit test and allow AuthGuard CanActive for the SSO case * adjust unit test and allow AuthGuard CanActive for the SSO case * adjust unit test and allow AuthGuard CanActive for the SSO case * adjust unit test and allow AuthGuard CanActive for the SSO case * Add isPublicUrl logic to authguard * adjust unit test and allow AuthGuard CanActive for the SSO case * Allow canActive true for public urls like /settings * fix redirect login for SSO * Try not using isPublicUrl from js-api as that triggers an implicit login already * Try not using isPublicUrl from js-api as that triggers an implicit login already * Try not using isPublicUrl from js-api as that triggers an implicit login already * Try not using isPublicUrl from js-api as that triggers an implicit login already * move sso silentlogin fix to ecm authguard * Try only todo the implicitLogin if not logged in * Try only todo the implicitLogin if not logged in * Try only todo the implicitLogin if not logged in * Try only todo the implicitLogin if not logged in * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * remove implicit flow parameter and pray that those process cloud tests are passing * remove implicit flow parameter and pray that those process cloud tests are passing * remove implicit flow parameter and pray that those process cloud tests are passing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * try figuring out why process cloud is failing * move authService stuff in the login component from ngOnInit to constructor * move authService stuff in the login component from ngOnInit to constructor * move authService stuff in the login component from ngOnInit to constructor * move authService stuff in the login component from ngOnInit to constructor * not use login component for silent login anymore! * try figuring out why process cloud is failing * try figuring out why process cloud is failing * reuse is PublicUrl from js-api * reuse is PublicUrl from js-api * revert travis changes * revert travis changes * Check if oauth is enabled * Check if oauth is enabled * Check if oauth is enabled * Check if oauth is enabled
This commit is contained in:
committed by
Eugenio Romano
parent
469a806894
commit
f0189efd5a
@@ -650,7 +650,7 @@ describe('LoginComponent', () => {
|
||||
});
|
||||
}));
|
||||
|
||||
it('should show the login SSO button', async(() => {
|
||||
it('should show the login SSO button', async(() => {
|
||||
spyOn(authService, 'isOauth').and.returnValue(true);
|
||||
|
||||
component.ngOnInit();
|
||||
|
Reference in New Issue
Block a user