Seraph does not redirect

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

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 

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.

 

facing the same issue, did you find any answers?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,629 views 18 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you