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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...