So let's say we deploy the ADF app within Share similar to:
Or any other way and don't want to login again within ADF.
The normal answer would be to use SAML, but not everyone has SAML or doesn't have access to the module.
What would be the best approach to Re-use the session ticket from Alfresco within ADF?
Not sure is going to work but you can try if you have the ticket:
remove the login page in your ADF app
store the ticket in the local storage "ticket-ECM" before to access to your ADF app
Thanks Eugenio, this seems promising.
I'll try and will get back to you!
Hi Eugenio, this seems a bit more difficult than anticipated due to lack of knowledge of ADF.
Just removing the component were initialized doesn't load anything.
I guess on depend on how you remove it. Do you have good knowledge of angular? can you explain the step that you did?
I don't have that extensive knowledge of Angular, but I just created a new app with Yeoman.
So I just had the basis Login, Documentlist and another screen.
These files were changed:
I just started again from scratch and now I do see the sample page.
So something probably didn't go that well.
Now do I disable the AuthGuardEcm? So somewhere before loading the Documentlist component I pre-fill in the Ticket.
Just for the demo purposes and writing a blog the Ticket in the URL or from a Post will do for now.
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.