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?

 

2 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.

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,799 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot