title: login link to liferay with openid authentication
body: <p>I have a big issue with a scenario I am implementing, any help/pointers would be highly appreciated.</p>
  
  <p>The scenario is as follows:</p>
  
  <ol>
  <li>User login to system 1 which is an OpenId provider for liferay portal</li>
  <li>User is being presented with a link which contains OpenId identity and an id</li>
  <li>User press the link and a new browser tab is being opened and the user is being logged into liferay portal if not authenticated redirect to system1 login page</li>
  <li>authenticate process must be done through OpenId and fetch some data from the OpenId identity provider</li>
  </ol>
  
  <p>I found  that I should use a hook that implements AutoLogin for comming for liferay and there is no problem. </p>
  
  <p>The problem is authentication with OpenId and fetching data from OpenId</p>
  
  <p>Can anyone help me about OpenId and how it can be integrated with Liferay</p>
  
  <hr>
  
  <p>Hi every one and thanks for responses.
  I used this link <a href="https://stackoverflow.com/questions/6787586/how-do-i-use-autologin-in-liferay">use autologin in liferay </a><br>
  and then used this class 4 openid <a href="https://joinup.ec.europa.eu/svn/aselect/tags/aselect-1.9.7%20release/src/org/aselect/authspserver/authsp/openid/RegistrationService.java" rel="nofollow noreferrer">RegistrationService.java class</a> and open id works correctly now the the problem is that in this login link we have some parameters that we have to use in other war file how can i store this parameter in session and then retrieve after authenticate with openid?
  regards</p>