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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...