Hi,
I have requirement to display share Document including Edit it google Doc,Edit in ms-office.for that i am using Iframe
when i have
http://localhost:9090/share/page/document-details?nodeRef=workspace://SpacesStore/ in iframe i always get username and password screen,i want to passed username and password dynamically so not see Login screen when user see doc is it possible
Hi,
The out of the box hehaviour of Alfresco is protect the access with a user and password. Anyway, after user is logged you'll be redirected to the details of the document.
On the other hand, if you want that guest user can access to your document, you must assign permissions. After that, the url will be something like that:
http://localhost:9090/share/page/document-details?nodeRef=workspace://SpacesStore/&guest=true
Anyway, I think isn't a good practice that any user have access to our documents.
Maybe you could develop a "pre-system" to manage this issue. Por example a script that obtain a valid ticket and after that redirect to the details of the document.
http://localhost:9090/alfresco/service/api/login?u=your-user&pw=your-password
If the previous url is correct, we will obtain a valid ticket that we can use to access:
http://localhost:9090/share/page/document-details?nodeRef=workspace://SpacesStore/&ticket=valid-tick...
Regards,
i followed your second option to be ticket based login,but still asking Login page
Neither guest user working in this case,it also giving Same login screen even if i have given Permission to access EveryOne Group
Sorry, you are right. "guest=true" not allowed anymore
Maybe you can try SSO system: Configuring external authentication | Alfresco Documentation
Regards,
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.