<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Login component redirection - ADF v4.5.0 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/login-component-redirection-adf-v4-5-0/m-p/10554#M4702</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having a problem with the &lt;STRONG&gt;login component&lt;/STRONG&gt; of version &lt;STRONG&gt;4.5.0&lt;/STRONG&gt; of ADF.&lt;/P&gt;&lt;P&gt;I have an application in which I'm using &lt;STRONG&gt;OAuth&lt;/STRONG&gt; authentication. Both properties &lt;STRONG&gt;&lt;EM&gt;silentLogin&lt;/EM&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;EM&gt;implicitFlow&lt;/EM&gt;&lt;/STRONG&gt; are set to &lt;STRONG&gt;true&lt;/STRONG&gt; and the properties &lt;STRONG&gt;&lt;EM&gt;redirectUri&lt;/EM&gt;&lt;/STRONG&gt;, &lt;STRONG&gt;&lt;EM&gt;redirectSilentIframeUri&lt;/EM&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;EM&gt;redirectUriLogout&lt;/EM&gt;&lt;/STRONG&gt; all point to the home page of the application. Also, the only URL in the &lt;STRONG&gt;&lt;EM&gt;publicUrls&lt;/EM&gt;&lt;/STRONG&gt; property array is the home page.&lt;/P&gt;&lt;P&gt;The login works correctly. The problem is on the redirection after logging in.&lt;/P&gt;&lt;P&gt;For example, If I try to access the URL of a specific task in the application and I'm not authenticated yet, the application will ask me to login, which is correct. Although, after loggin in, instead of going directly to the task page, I'm redirected to the home page (as configured in the &lt;EM&gt;redirectUri&lt;/EM&gt; property of the OAuth authentication). After that, if I click on any of the buttons on the navigation menu, it will redirect me to the task page instead of the page that actually corresponds to the button.&lt;/P&gt;&lt;P&gt;It seems like the login component is making the redirection configured in OAuth's &lt;EM&gt;redirectUri&lt;/EM&gt; property instead of going directly to the &lt;EM&gt;redirectUrl&lt;/EM&gt; parameter that it uses when OAuth authentication isn't enabled. It only goes to the &lt;EM&gt;redirectUrl&lt;/EM&gt; after goind to OAuth's &lt;EM&gt;redirectUri&lt;/EM&gt; first.&lt;/P&gt;&lt;P&gt;Does anyone know how to make the login component go to the &lt;EM&gt;redirectUrl&lt;/EM&gt; instead of OAuth's &lt;EM&gt;redirectUri&lt;/EM&gt;, when OAuth authentication is enabled?&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2021 08:39:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-20T08:39:16Z</dc:date>
    <item>
      <title>Login component redirection - ADF v4.5.0</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/login-component-redirection-adf-v4-5-0/m-p/10554#M4702</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm having a problem with the &lt;STRONG&gt;login component&lt;/STRONG&gt; of version &lt;STRONG&gt;4.5.0&lt;/STRONG&gt; of ADF.&lt;/P&gt;&lt;P&gt;I have an application in which I'm using &lt;STRONG&gt;OAuth&lt;/STRONG&gt; authentication. Both properties &lt;STRONG&gt;&lt;EM&gt;silentLogin&lt;/EM&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;EM&gt;implicitFlow&lt;/EM&gt;&lt;/STRONG&gt; are set to &lt;STRONG&gt;true&lt;/STRONG&gt; and the properties &lt;STRONG&gt;&lt;EM&gt;redirectUri&lt;/EM&gt;&lt;/STRONG&gt;, &lt;STRONG&gt;&lt;EM&gt;redirectSilentIframeUri&lt;/EM&gt;&lt;/STRONG&gt; and &lt;STRONG&gt;&lt;EM&gt;redirectUriLogout&lt;/EM&gt;&lt;/STRONG&gt; all point to the home page of the application. Also, the only URL in the &lt;STRONG&gt;&lt;EM&gt;publicUrls&lt;/EM&gt;&lt;/STRONG&gt; property array is the home page.&lt;/P&gt;&lt;P&gt;The login works correctly. The problem is on the redirection after logging in.&lt;/P&gt;&lt;P&gt;For example, If I try to access the URL of a specific task in the application and I'm not authenticated yet, the application will ask me to login, which is correct. Although, after loggin in, instead of going directly to the task page, I'm redirected to the home page (as configured in the &lt;EM&gt;redirectUri&lt;/EM&gt; property of the OAuth authentication). After that, if I click on any of the buttons on the navigation menu, it will redirect me to the task page instead of the page that actually corresponds to the button.&lt;/P&gt;&lt;P&gt;It seems like the login component is making the redirection configured in OAuth's &lt;EM&gt;redirectUri&lt;/EM&gt; property instead of going directly to the &lt;EM&gt;redirectUrl&lt;/EM&gt; parameter that it uses when OAuth authentication isn't enabled. It only goes to the &lt;EM&gt;redirectUrl&lt;/EM&gt; after goind to OAuth's &lt;EM&gt;redirectUri&lt;/EM&gt; first.&lt;/P&gt;&lt;P&gt;Does anyone know how to make the login component go to the &lt;EM&gt;redirectUrl&lt;/EM&gt; instead of OAuth's &lt;EM&gt;redirectUri&lt;/EM&gt;, when OAuth authentication is enabled?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 08:39:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/login-component-redirection-adf-v4-5-0/m-p/10554#M4702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-20T08:39:16Z</dc:date>
    </item>
  </channel>
</rss>

