Goodmorning everyone,
I am integrating Alfresco into my software where I would like to log in using a backend class in java so that the user does not have to enter the credentials in the login form twice.
Currently I can log in using a REST call http://myip:myport/alfresco/service/api/login?u=myuser&pw=mypassword obtaining 200 OK and the associated ticket in response.
In the window of my software I should be able to view the dashboard of Alfresco but despite being logged in, it proposes the login form and the insertion of credentials. The url is as follows:
http://myip:myport/share/page/user/admin/dashboard?ticket="+ticket
Thanks in advance.
Alfresco Repository (alfresco.war) provides a REST API for authentication, while Share Web App (share.war) is using its own authentication system. If you want to use Share Dashboard, you have to extend Share Authentication. Probably SSO is a good approach: Configuring Alfresco Share to use an external SSO | Alfresco Documentation
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.