Hello to the community,
I try to query Splunk from an external SDK for which I am asking from our admins for a token authentication, but I am told that Splunk does not enable coexistence of both SSO (which is used now) and token-based authentication. A quick query to ChatGPT shows that this may be possible, but I'd like to have it confirmed. Could anyone confirm using/administering such a deployment?
B.r.
Lukas
Hi @LukasO
Yes, you can use token authentication and SSO authentication together
If you want to create tokens for SSO users, you will need to set up attribute query requests (AQR) or authentication extensions.
Alternatively, you can create local Splunk users and generate tokens for those users.
You can get to the token creation page at https://YourSplunkInstance/en-US/manager/search/authorization/tokens
🌟Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing.
Thanks much, this seems to be a direct point to our administrators. Can you comment on the problems reported by isoutamo below?
Basically you could use token with SSO user like SAML, but if I recall correctly there could be a situations when old SSO authentication cache/token/credential could vanish and then it needs that this user must login again via GUI to get it works again. If you are using token for user which are using GUI regularly probably this isn’t any real issue? But if you are adding token to any service user which are using only REST api then this could easily hit you.
For that reason you should use local user in this kind of cases if your company policy allow it.