08-19-2019 04:52 AM
Hi,
I have have an application (angular 7 and adf 3.2.1 libraries). I use the login component and prevent the default code from executing in the validate form.
My problem is that i have to log in users when i don't know where they have access to and redirect them based on that .
I reach the point were i have the tickets in my instance and i tried to redirect the user based on that but it doesn`t work. I tried to show the state from the auth service and i saw that the user is not logued in on the service .
09-06-2019 05:44 AM
I was able to find a solution to the problem, i modified the authservice and set alfrescoApi public so i can get access to ithe instance in the service and coud use the next method, without this method the login succeed but it gives you an error of a cookie when you try to access to the bpm.
Method necesary:
this.authService.alfrescoApi.getInstance().setAuthenticationClientECMBPM()
09-06-2019 05:44 AM
I was able to find a solution to the problem, i modified the authservice and set alfrescoApi public so i can get access to ithe instance in the service and coud use the next method, without this method the login succeed but it gives you an error of a cookie when you try to access to the bpm.
Method necesary:
this.authService.alfrescoApi.getInstance().setAuthenticationClientECMBPM()
Explore our Alfresco products with the links below. Use labels to filter content by product module.