<?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>Liferay 7.2 DXP EE Integration of OKTA through OpenID Connect</title>
  <link rel="self" href="https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117898113" />
  <subtitle>Liferay 7.2 DXP EE Integration of OKTA through OpenID Connect</subtitle>
  <id>https://uat.liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117898113</id>
  <updated>2026-10-15T11:35:51Z</updated>
  <dc:date>2026-10-15T11:35:51Z</dc:date>
  <entry>
    <title>RE: Liferay 7.2 DXP EE Integration of OKTA through OpenID Connect</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119760437" />
    <author>
      <name>Upender Kashyap</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119760437</id>
    <updated>2020-08-14T04:52:59Z</updated>
    <published>2020-08-14T04:52:59Z</published>
    <summary type="html">I am also facing same issue while connecting to Azure AD. Did anyone get a solution for this? Thanks in Advance.</summary>
    <dc:creator>Upender Kashyap</dc:creator>
    <dc:date>2020-08-14T04:52:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.2 DXP EE Integration of OKTA through OpenID Connect</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118695057" />
    <author>
      <name>Srikanth Reddy Sanivarapu</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=118695057</id>
    <updated>2020-03-09T10:25:31Z</updated>
    <published>2020-03-09T10:25:31Z</published>
    <summary type="html">Did you find a solution for this. I too see the same error in my platform.</summary>
    <dc:creator>Srikanth Reddy Sanivarapu</dc:creator>
    <dc:date>2020-03-09T10:25:31Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.2 DXP EE Integration of OKTA through OpenID Connect</title>
    <link rel="alternate" href="https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117898112" />
    <author>
      <name>Amit sinha</name>
    </author>
    <id>https://uat.liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117898112</id>
    <updated>2019-11-26T14:24:10Z</updated>
    <published>2019-11-26T14:24:10Z</published>
    <summary type="html">Hi,&lt;br /&gt;&lt;br /&gt;I have configured all the configurations related to OKTA through OpenID Connect (Client App set up) in Liferay DXP. Below are the properties configured through the configuration entry form provided in Control Panel --&amp;gt; System Settings;&lt;br /&gt;&lt;br /&gt;1. Provider Name, Client ID, Client Secret, Authorization Endpoint, Token Endpoint, User Information, JWKS URI, Scopes (as - &amp;#34;openid email profile&amp;#34;) &amp;amp; Subject Type (&amp;#34;public&amp;#34;)&lt;br /&gt;&lt;br /&gt;Once these configurations are setup; have also enabled OpenID Connect authentication under System Settings, post which I&amp;#39;m able to see the OpenID Connect link in Sign-in Portlet. On clicking OpenID Connect link from Sign-In portlet, it is redirected to a page, where the provider information (that was configured through configuration entries) is shown. Clicking on Sign-In button from this view, redirects to OKTA sign-in page (where-in username and password is supplied for authorization); upon clicking on Sign-In from OKTA sign-in page; it is redirecting to a page with an error message as &amp;#34;Internal Server Error&amp;#34; in Liferay DXP.&lt;br /&gt;&lt;br /&gt;Request the team&amp;#39;s expert suggestions / support here to proceed further - from the below error trace, I could understand that auth tokens aren&amp;#39;t getting exchanged properly - not sure if any configurations are being missed and should customize the login functionality of Liferay to bypass the authentication for OIDC flow.&lt;br /&gt;&lt;br /&gt;Error Trace&lt;br /&gt;&lt;br /&gt;2019-11-26 12:50:03.525 ERROR [http-nio-8080-exec-3][OpenIdConnectFilter:132] Unable to process OpenID Connect authentication response: Unable to get tokens from https://{okta.domain}/oauth2/v1/token: Connection reset&lt;br /&gt;&lt;br /&gt;com.liferay.portal.security.sso.openid.connect.OpenIdConnectServiceException$TokenException: Unable to get tokens from https://{okta.domain}oauth2/v1/token: Connection reset&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.security.sso.openid.connect.internal.OpenIdConnectServiceHandlerImpl.requestTokens(OpenIdConnectServiceHandlerImpl.java:530)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.security.sso.openid.connect.internal.OpenIdConnectServiceHandlerImpl.requestIdToken(OpenIdConnectServiceHandlerImpl.java:466)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.security.sso.openid.connect.internal.OpenIdConnectServiceHandlerImpl.processAuthenticationResponse(OpenIdConnectServiceHandlerImpl.java:166)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.security.sso.openid.connect.internal.service.filter.OpenIdConnectFilter.processAuthenticationResponse(OpenIdConnectFilter.java:109)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.security.sso.openid.connect.internal.service.filter.OpenIdConnectFilter.processFilter(OpenIdConnectFilter.java:150)&lt;br /&gt;&lt;br /&gt;Caused by: java.net.SocketException: Connection reset&lt;br /&gt;&lt;br /&gt;at java.net.SocketInputStream.read(SocketInputStream.java:210)&lt;br /&gt;&lt;br /&gt;at java.net.SocketInputStream.read(SocketInputStream.java:141)&lt;br /&gt;&lt;br /&gt;at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)&lt;br /&gt;&lt;br /&gt;at sun.security.ssl.InputRecord.read(InputRecord.java:503)&lt;br /&gt;&lt;br /&gt;at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)&lt;br /&gt;&lt;br /&gt;at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)&lt;br /&gt;&lt;br /&gt;at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)&lt;br /&gt;&lt;br /&gt;at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)&lt;br /&gt;&lt;br /&gt;at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)&lt;br /&gt;&lt;br /&gt;at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)&lt;br /&gt;&lt;br /&gt;at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)&lt;br /&gt;&lt;br /&gt;at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)&lt;br /&gt;&lt;br /&gt;at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)&lt;br /&gt;&lt;br /&gt;at com.nimbusds.oauth2.sdk.http.HTTPRequest.toHttpURLConnection(HTTPRequest.java:814)&lt;br /&gt;&lt;br /&gt;at com.nimbusds.oauth2.sdk.http.HTTPRequest.send(HTTPRequest.java:882)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.security.sso.openid.connect.internal.OpenIdConnectServiceHandlerImpl.requestTokens(OpenIdConnectServiceHandlerImpl.java:502)&lt;br /&gt;&lt;br /&gt;... 59 more&lt;br /&gt;&lt;br /&gt;2019-11-26 12:50:03.720 ERROR [http-nio-8080-exec-3][status_jsp:852] Unable to get tokens from https://{okta.domain}/oauth2/v1/token: Connection reset&lt;br /&gt;&lt;br /&gt;26-Nov-2019 12:50:03.749 SEVERE [http-nio-8080-exec-3] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [Main Servlet] in context with path [] threw exception [java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed] with root cause&lt;br /&gt;&lt;br /&gt;java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed&lt;br /&gt;&lt;br /&gt;at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:488)&lt;br /&gt;&lt;br /&gt;at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138)&lt;br /&gt;&lt;br /&gt;at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138)&lt;br /&gt;&lt;br /&gt;at javax.servlet.http.HttpServletResponseWrapper.sendRedirect(HttpServletResponseWrapper.java:138)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.servlet.filters.absoluteredirects.AbsoluteRedirectsResponse.sendRedirect(AbsoluteRedirectsResponse.java:47)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.action.LoginAction.execute(LoginAction.java:191)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.security.sso.openid.connect.internal.service.filter.OpenIdConnectSessionValidationFilter.processFilter(OpenIdConnectSessionValidationFilter.java:124)&lt;br /&gt;&lt;br /&gt;2019-11-26 12:50:04.919 WARN [http-nio-8080-exec-3][code_jsp:160] {code=&amp;#34;400&amp;#34;, msg=&amp;#34;&amp;#34;, uri=/c/portal/login/openidconnect}&lt;br /&gt;&lt;br /&gt;javax.servlet.ServletException: java.lang.IllegalStateException: Cannot call sendRedirect() after the response has been committed&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.struts.PortalRequestProcessor._process(PortalRequestProcessor.java:428)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:155)&lt;br /&gt;&lt;br /&gt;at com.liferay.portal.internal.servlet.MainServlet.doGet(MainServlet.java:205)&lt;br /&gt;&lt;br /&gt;... 82 more&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Amit</summary>
    <dc:creator>Amit sinha</dc:creator>
    <dc:date>2019-11-26T14:24:10Z</dc:date>
  </entry>
</feed>
