Apologies if this is too much detail but this is just for my reference....
I have installed splunk on my PC and created this simple dashboard located here:
http://localhost:8000/en-GB/app/search/gaugeexample [1]
If i click on the url above it will bring me to this url [2], where I put in my un and pw and it works
http://localhost:8000/en-GB/account/login?return_to=%2Fen-GB%2Fapp%2Fsearch%2Fgaugeexample [2]
*That is fine but what I want now is when I click on the link it automatically does the login for me. *
so what I done was put this file web.conf in the local directory(see below)
I then tried using a different link 3
http://localhost:8000/en-GB/account/insecurelogin?username=admin&password=admin*return_to=%2Fen-GB%2Fapp%2Fsearch%2Fgaugeexample [3]
I get this displayed
{"success":false,"offset":0,"count":0,"total":0,"messages":[{"type":"ERROR","time":"2015-06-12T11:38:44","message":"Login failed"}],"data":null}
and it is at this url [4]
http://localhost:8000/en-GB/account/insecurelogin?username=admin&password=admin*return_to=%2Fen-GB%2Fapp%2Fsearch%2Fgaugeexample [4]
Based on what you provided I have tried to get url [3] right above, but I may be slightly off.
Can you advise if I am close?
**web.conf file put in this directory C:\Program Files\Splunk\etc\system\local
# Version 6.2.3
[default]
[settings]
#ks added this
# Toggle the insecure login endpoint
# enable_insecure_login = False ## setting it to true as want to be able to access links/dashboards externally
enable_insecure_login = True
... View more