I'm developing a custom plugin to integrate Jira 6.3.14 with an OAuth2 server.
First of all, as described here I changed seraph-confix.xml and extended JiraSeraphAuthenticator.
I overrode the method Principal getUser(HttpServletRequest request,
HttpServletResponse response). The first thing the method has to do is redirecting the user to the server to allow the user insert their credentials in a form via "response.sendRedirect(url);". The method getUser however gets called more than once. The first time, response is not null but the following times it becomes null and when finally response.sendRedirect(url) gets called I have a NullpointerException. Whys isn't this working? Do I have to change my web.xml in some way as well other than editing seraph-config.xml? can I perform a redirection inside the getUser method?
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 ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot