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

Question

Question

Disable Forms login page for Forms Portal server?

asked on December 8, 2020

Hi,

 

I am working on a case where we are wanting to disable the login page for Laserfiche forms on a public instance of Laserfiche forms so that only public forms with direct links can be accessed. Is there a way to disable the forms login page all together so that if the go to the URL.com/Forms link it would either just not load or redirect them elsewhere, say weblink?

 

Thanks,

Cody

0 0

Answer

APPROVED ANSWER
replied on December 8, 2020 Show version history

Hi Cody,

If using Laserfiche Directory Server (LFDS) authentication with Forms, you can change the redirect to the URL of your choice, which can be WebLink or any other destination.

Steps (all on the public Forms instance):

  1. First, verify the public Forms instance is fully installed, configured, and working with public forms as intended
  2. Open the config file at ".\Program Files\Laserfiche\Laserfiche Forms\Forms\Web.config" in a text editor.
  3. Find the "wsFederation" node (at the bottom in 10.4) which will look like this:
    <wsFederation persistentCookiesOnPassiveRedirects="true" passiveRedirectEnabled="false" realm="https:/forms.example.com/Forms/" reply="https:/forms.example.com/Forms/" issuer="https://lfds.example.com/LFDSSTS/" homeRealm="urn:laserfiche:lfdsdb:LFDS" requireHttps="true" />
    
  4. Change the issuer value to the URL you want Forms to redirect public users to instead of the login page, e.g. issuer="https://publicdocs.example.com/WebLink/"
  5. Recycle the Forms app pool in IIS
  6. Any action in Forms that would have triggered a login redirect now sends the user to the new issuer URL.

This manual modification may be overwritten when you upgrade Forms. Make sure to add checking and re-implementing the change (if necessary) a documented part of your upgrade procedure.

Cheers,
Sam

0 0
replied on December 17, 2020 Show version history

Hi Samuel,

 

Thank you for the response! Unfortunately I've tried this on the clients server as well as my test system and in both cases this doesn't seem to prevent the login screen from being presented for Forms. Here is what that line is on my test system. Is there anything wrong with this line?

<wsFederation persistentCookiesOnPassiveRedirects="true" passiveRedirectEnabled="false" realm="http://computer/Forms/" reply="http://computer/Forms/" issuer="https://codytest.testdom.com/WebLink/" homeRealm="urn:laserfiche:lfdsdb:lfds" requireHttps="false" />

 

Thanks,

Cody 

0 0
replied on December 17, 2020

Hi Cody,

I should have asked if your Forms instance is configured for Laserfiche Server or LFDS authentication. Forms only sends users to that issuer URL when LFDS auth is enabled. I'm guessing both your and your client's Forms instances are using LFS auth?

0 0
replied on December 17, 2020

Hi Samuel,

 

Yes, both are using LFS authentication in this case. smiley

 

Thanks,

Cody

0 0
replied on December 17, 2020

In that case your best bet is likely an IIS URL Rewrite module Redirect rule. It should look for the Forms login URL (something like https://forms.example.com/Forms/login.aspx) and throw an HTTP 301 Redirect to your desired URL on a match.

0 0
replied on December 23, 2020

Hi Samuel,

 

Is there an example of setting this up possibly? I've been testing on my test machine but it just refuses to redirect. I'm not sure if there is something within forms that is preventing it possibly or if the rule isn't set up right in IIS. Any ideas would be appreciated. smiley

 

Thanks,

Cody

0 0

Replies

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

Sign in to reply to this post.