<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Call or Invoke OpenId Authentication from Custom Login Portlet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121694694" />
  <subtitle>Call or Invoke OpenId Authentication from Custom Login Portlet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121694694</id>
  <updated>2026-04-04T10:50:59Z</updated>
  <dc:date>2026-04-04T10:50:59Z</dc:date>
  <entry>
    <title>RE: Call or Invoke OpenId Authentication from Custom Login Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121733232" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121733232</id>
    <updated>2023-04-18T14:25:15Z</updated>
    <published>2023-04-18T14:25:15Z</published>
    <summary type="html">&lt;p&gt;Hi Anish,&lt;/p&gt;
&lt;p&gt;Have you checked already how the portal is doing that? &lt;a href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/login/login-authentication-openid-connect-web/src/main/java/com/liferay/login/authentication/openid/connect/web/internal/portlet/action/OpenIdConnectLoginRequestMVCActionCommand.java#L113-L207"&gt;https://github.com/liferay/liferay-portal/blob/master/modules/apps/login/login-authentication-openid-connect-web/src/main/java/com/liferay/login/authentication/openid/connect/web/internal/portlet/action/OpenIdConnectLoginRequestMVCActionCommand.java#L113-L207&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2023-04-18T14:25:15Z</dc:date>
  </entry>
  <entry>
    <title>Call or Invoke OpenId Authentication from Custom Login Portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121694693" />
    <author>
      <name>Anish Kumar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121694693</id>
    <updated>2023-04-14T15:54:33Z</updated>
    <published>2023-04-14T06:25:24Z</published>
    <summary type="html">&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I was able to customize the login page by creating &amp;quot;Liferay
  Module Project Fragment&amp;quot; project and overriding login.jsp file
  under the OSGi bundle &amp;quot;com.liferay.login.web-6.0.37.jar&amp;quot;
  file. Also I was able to call my own external service for primary
  authentication by creating a MVCActionCommand portlet
  with &amp;quot;mvc.command.name=/login/login&amp;quot;. Upto this part I have
  done and its working.&lt;/p&gt;
&lt;p&gt;Next I have to call OpenId authentication with some state parameter
  from my MVCActionCommand portlet, this is the secondary authentication
  which is a requirement. I have enabled OpendID and Configured Identity
  provider in the Admin -&amp;gt; Control Panel -&amp;gt; System Settings.&lt;/p&gt;
&lt;p&gt;How we can call or initiate OpenId authentication pipeline from the
  MVCActionCommand portlet's processRequest method with my own state
  parameters which should be returned by the IDP after successful authentication?&lt;/p&gt;
&lt;p&gt;Please suggest a solution&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Anish Kumar</dc:creator>
    <dc:date>2023-04-14T06:25:24Z</dc:date>
  </entry>
</feed>
