You are viewing limited content. For full access, please sign in.

Question

Question

Javascript or CSS in iframe to access WebAccess

asked on August 10, 2021 Show version history

Is there a JavaScript that can be embedded in the Iframe to allow it to open Laserfiche with a user name and password.

I found this in the Admin Guide

Displaying the web client in an Iframe

  • idname: The unique ID given to the iframe. The id attribute can be used by Javascript or CSS to make changes to or style the specific iframe.

 

Is there any documentation for how to use the repository API?  Ideally we would put LF page in an iframe and automatically authenticate the user using a hidden username/password or some other secret.

 

We are also open to custom integration as a plan B with the help of your javascript sdks / documentation.

Gina 

0 0

Replies

replied on August 10, 2021

Are you trying to use the same credentials for every user? If so, that could create issues because there are session and activity limits (i.e., user licenses aren't designed to be shared).

If each user has their own credentials/license, then I would suggest looking into LFDS authentication so you can enable SSO and avoid the need to pass credentials entirely.

Lastly, if your users only require read-only access to the documents, then you could use WebLink and create a link that automatically logs in with the specified credentials. 

1 0
replied on August 11, 2021

Seconding everything Jason said here.

If you must authenticate the users as themselves, sort out LFDS with automatic SSO.

If you only need users to view documents and they don't have named user licenses, use WebLink.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.