Splunk User Behavior Analytics

UBA SAML Authentication Failing- How can I revert the authentication by using the CLI?


Hello Team

We have a UBA 3-nodes architecture. Unfortunately, SAML authentication is required.

We added the SAML xml file under "Manage --> Settings" as suggested. The result is that UBA threw us out of the platform with no chance to login anymore either way.

We have tried to login with the standard UBA user as we have always done as per -- https://docs.splunk.com/Documentation/UBA/5.2.0/Admin/UBALogin -- . Again, this page is misleading  and there is no way to login to Splunk UBA anymore.

So we tried to seek on docs.splunk.com for suggestions. Unfortunately, any Splunk documentation suggest to use the GUI to revert -- which is not possible -- and now we are at dead end.

log.log under caspida is not revealing much. 

2023-07-25 18:39:48.596 error: no permissions found for role(s): %s (user=%s), failing login
2023-07-25 18:39:48.596 error: No permissions found for the roles: undefined

The error page --


{"userError":true,"message":"No permissions are granted to this username."}

but roles and users have been mapped properly.

Does anyone know know how to revert the authentication by using the CLI?

Does anyone know how to deploy SAML authentication ?


Labels (1)
0 Karma


Were you able to find a way to resolve this issue? We're seeing the same thing, complete with the same error message in log.log. 

For future users, the way to get around SSO if the setup fails is to append ?loginType=uba to the end of your login (https://example.com/?loginType=uba)

0 Karma
Get Updates on the Splunk Community!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

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

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...