Redirect after Login in Confluence

I have a problem and I haven't seen the answer in any of the forum posts here. We have a SaaS system that will use Confluence 4.1 as a Help Center. The goal for our help system is that each page of our application will have a wiki page in Confluence. When the user clicks on a link in our system we will lookup the appropriate Confluence wiki page in a database we maintain and redirect the user to the confluence page we find. The bit tricky part here is that when the user clicks the link in our application the user will be passed to the confluence login action (we have something set up to pass over the credentials to the login page so the user can be authenticate)d and will need to be redirected after authentication to the appropriate wiki page.

Now, we thought this would be no problem and that we could just put the page path in the 'os_destination' form field and that would be fine. For example we could put in 'display/g4s/Business+Consulting' where 'g4s' is the space name. However, when we do this after the user is authenticated they are taken back to the user dashboard. If we just put in 'display/g4s' into the os_destination field the user is taken to the space home.

So what gives? Why can't I redirect a user to a specific page in confluence? Is there any work around that doesn't require me to go mucking around with Tomcat or some other confluence config file?

1 answer

1 accepted

This widget could not be displayed.

I don't get why this is happening for you. I just tested this myself and it follows whatever I set os_destination to, including pages. Does it make a difference when you urlencode the path? Are you using any reverse proxies or anything that might mess with the data?


I was able to get this to work. I'm not sure exactly what I was doing wrong, I might have had an issue with my test user not having the appropriate permissions to the space we were trying to have them access.

Best Regards,


Excellent! Please mark the question as answered and try to give a full solution, it may help people in the future with a similar problem :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

564 views 7 6
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