Page 1 of 1

url redirection and authentication

Posted: Thu Nov 12, 2015 1:46 pm
by doneil326
Hello,

I have a need to provide a dashboard to my consumers by rewriting the url directly to nagvis. so something like dashboard.domain.com/prod rewrites to the dashboard in question. The issue is whenever the users try to drill down into a host/service/hostgroup/servicegroup etc they get session timed out because the server is is redirecting to https://dashboard.domain.com/nagiosxi/i ... -hostgroup and never passes any authentication to nagiosxi to all users access. is there a way to pass a query string parameter for no auth or a readonly account to nagiosxi to by pass this?

Re: url redirection and authentication

Posted: Thu Nov 12, 2015 2:23 pm
by scottwilkerson
Yes, if you create a read-only account

Then go to
Admin -> Manage Components -> Backend API URL -> Edit

select your read only user
You will get a list of URLs, at the end of each you will see someting like the following

Code: Select all

&username=readonly&ticket=s4k3chun3gdguafhl4f3b79a68l2jcqddcfoscfvrsdn4q6otjo9p0gv630mfq4r
Append that to your URL and it will auto login as that user