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 .
Solved! Go to Solution.
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()
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()
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.