Seraph does not redirect

Sean Conlon December 26, 2014

I have successfully configured Seraph to SSO into Confluence, and I tried to port that over to where JIRA performs SSO as well.  However, this is not going well.  I abandoned the porting effort, and decided to just start from scratch but I still cannot get the basic redirects to work.

I am using Seraph v2.6.4 in both my pom.xml and I have confirmed that is the jar version in Jira's WEB-INF/lib.

I have written my custom authenticator from this Seraph doc: https://docs.atlassian.com/atlassian-seraph/latest/sso.html

I have made updates to seraph-config.xml and web.xml this Seraph doc: https://docs.atlassian.com/atlassian-seraph/latest/configuration.html

I have also debugged the SSO process, and I know that my custom authenticator is loading and returns null for the getUser() method, which should redirect to the login.url set in seraph-config.xml, but it constantly goes to the default JIRA login page.

I have also debugged through the Seraph code, and I can see that the values I have set in seraph-config.xml for login.url are being loaded properly, but I cannot see why these values are not being redirected.

Any ideas on what I might be missing?

 

3 answers

1 vote
Justin Justin December 28, 2014

Devil is in one's network details and environments, and the nuances of the different Atlassian apps, which are similar, but not, also depending on your setup. This is why AppFusions stopped providing these as open source because of the corner cases and tricky support cases without eyes making it super hard. We at least now have a methodical approach to deploy our sereph kerberos solutions reliably and relatively quickly, if interested. Read about here, or maybe some helpful nuggets: https://www.appfusions.com/display/KBRSCJ/Home 

0 votes
Sitaram Chirravuri April 23, 2018

facing the same issue, did you find any answers?

0 votes
Sean Conlon December 26, 2014

Also, looking at the comments of the link below, I am not the only person to have this problem. 

https://confluence.atlassian.com/display/JIRAKB/How+To+Change+JIRA+Login+and+Logout+URL

Some mention they had success updating JIRHOME/atlassian-jira/default.jsp, but I do not want to go down that "hacky" route.

 

Suggest an answer

Log in or Sign up to answer