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

Question

Question

SDK access to Cloud with single sign-on account

asked on December 13, 2024

Can you login to Laserfiche Cloud using the SDK with a SSO user account? If so, I can't find any documentation on it. Can anyone point me in the right direction?

0 0

Replies

replied on December 13, 2024 Show version history

I assume that by "SSO user account", you mean "a Federated User account" with authentication through a federated SAML identity provider.

I found instructions in the "SDK104.chm" documentation file that I believe would apply. They discuss "Signing in with ADFS" (Active Directory Federation Services), which was the first federated SAML identity provider Laserfiche Cloud supported. However, the instructions discuss hitting an https://acs.laserfiche.com/acs/federatedlogin/* endpoint, which does not seem ADFS-specific.

The "code sample" link goes to here: PD302 - Advanced Topics in SDK Programming - Education Resources. If you click the link in the chm file, it launches in some ancient IE-based embedded browser that won't load the page correctly. I've also attached the referenced file CloudUtils.cs file (changed to have a txt extension). Just be aware that the https://acs.laserfiche.com/acs/IsAdfsEnabled/ endpoint doesn't seem to exist anymore, so you'll need to remove the "IsAdfsEnabled(string cloudCustomer, string cloudDomain, string userAgent)" function checks from any code you reuse.

We would generally encourage you to look at the Laserfiche Repository API v2 to see if it can meet your needs. It has .NET, Java, and JavaScript client libraries available and supports modern OAuth authentication flows. You can find more information at https://developer.laserfiche.com/

CloudUtil-cs.txt (15.21 KB)
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.