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!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...