Ability to redirect to login page when using SSO and object share links

Albert Wang shared this idea 7 months ago
Completed

As shown below, when the user clicks a link in an email, the user will be redirected to a Yellowfin login page.

2f64099d654014fbedffa1d6bda8fc17However, our users login to Yellowfin via SSO web service and they do not know their Yellowfin password.

Is that possible to custom the link in the email so users are redirected to a custom login page, like our PHP login page, with the uuid of the story or report. And from there we can redirect the user to Yellowfin with SSO login.

Thanks.

Albert

Comments (2)

photo
1

Hi Albert,

I can see how this would be important where Yellowfin has been embedded within other applications, or using an authentication method that happens outside of Yellowfin.

This enhancement has been officially logged for further review, and any updates will be posted here.

Unfortunately at this point in time I cannot comment on an ETA.

If there was anything else you were after in the meantime, please let me know.


Regards,

David

photo
1

Hi Albert,

An update on this, looks like this is actually possible, though requires a change to your web.xml

Can you please amend your web.xml with the changes below and let me know how it all goes?.


<filter>
  <filter-name>NotLoggedInFilter</filter-name>
  <filter-class>com.hof.adapter.NotLoggedInFilter</filter-class>
   <init-param>
         <param-name>restrictedEntryPoint</param-name>
         <!-- add content generic link (servlet path) for shared contents, it will only redirect specified URLs -->
         <!-- this instance, report and dashboard -->
         <param-value>/RunReport.i4,/RunDashboard.i4</param-value>
   </init-param>
   <init-param>
         <param-name>redirectUrl</param-name>
         <!-- client login link address end with '?'-->
         <param-value>http://localhost:3424/test_redirect.jsp?</param-value>;
   </init-param>
</filter>
<filter-mapping>
   <filter-name>NotLoggedInFilter</filter-name>
   <url-pattern>/*</url-pattern>
</filter-mapping>

Thanks,David