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

Question

Question

Pass on logged in User ID from 3rd party web portal to LF Forms

asked on March 29, 2017

Hello 

I have a potential client where we are looking for a solution to add LF Forms to their Parent Portal (Igloo).  The portal uses ADFS to authenticate the parent. We are trying to find a way of passing on the logged in User ID to LF Forms. We are currently looking at either a modified Cookie or injecting the User ID in to a URL.

Any suggestions or help will be appreciated.

Jonathan

 

0 0

Replies

replied on March 30, 2017 Show version history

Hi Jonathan,

Forms actually does support URL parameters, so for instance if you have a variable named UserId in the form http://hostName/Forms/Form/myForm, you can automatically supply that using http://hostName/Forms/Form/myForm?UserId=1234 for example.

If your solution uses cookies you can access those as a semicolon-delimited string with the JavaScript document.cookie, but I would personally recommend against this as it would depend on the end user having cookies enabled in the browser, which may or may not be appropriate to take as a given.

Regards

Clarification: This is if you need the user ID to fill a field in a form; if you are actually trying to log into Forms at the same time, there's no out-of-the-box method for automatic login, as it would depend on what type of authentication Forms is configured to use (LFS vs LFDS). If a user is not currently logged into Forms and attempts to navigate to such a URL, they will be prompted to log into Forms and then will be redirected to the form with the pre-populated User ID field.

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

Sign in to reply to this post.