Security

How to disable login page while using scripted authentication

hongchuang
New Member

Currently, our system make use of scripted authentication to access splunk content. However it will show the login page if session is time out. The page will allow user to input splunk user and password. But we don't want to provide this login page for users. How to disable this page in latest splunk version(6.2.0+)?
BTW, we just customized the login.html file in earlier splunk version. It doesn't work anymore in splunk 6.2.0.

0 Karma

gregavan
Engager

I hacked Splunk SSO to always login a user (using the "splunk" username) when they go to :8989 using the following Apache config.

Listen 8989
<VirtualHost *:8989>
  <Proxy http://127.0.0.1:8989/*>;
      Allow from all
   </Proxy>
   <LocationMatch "/">
      ProxyPass http://127.0.0.1:8000/
      ProxyPassReverse http://127.0.0.1:8000/
      Header add REMOTE_USER "splunk"
      RequestHeader set REMOTE_USER "splunk"
   </LocationMatch>
</VirtualHost>

Then in Settings > Server Settings > General Settings I set the "SSO Trusted IP" to 127.0.0.1

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...