# Remove elastic auth page but use x-pack

**URL:** <https://discuss.elastic.co/t/remove-elastic-auth-page-but-use-x-pack/313105>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [August 28, 2022, 6:37pm UTC](https://discuss.elastic.co/t/remove-elastic-auth-page-but-use-x-pack/313105 "2022-08-28T18:37:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 29, 2022, 5:32am UTC](https://discuss.elastic.co/t/remove-elastic-auth-page-but-use-x-pack/313105/2 "2022-08-29T05:32:57Z")

</div>

Hi @Murali_Krishna2 Welcome to the community!

Hmmmm

> [@Murali\_Krishna2](#):
>
> Is there any possible way to eliminate elastic authentication but apply role based previlagies using their gmail credentials??

No.. Authentication (User/Password) leads to Authorization (Roles)

I think you have 3 options

1. Disable x-pack security and go back to your previous method

2. Go All the way in and get a Platinum commercial license and use SAML etc. complete with role mappings

3. Perhaps Use Anonymous Login after you login with your GMAIL and redirect to Kibana.

See Here : [Authentication in Kibana | Kibana Guide [8.4] | Elastic](https://www.elastic.co/guide/en/kibana/8.4/kibana-authentication.html#anonymous-authentication)

I think I wrote a post on this before [here](https://discuss.elastic.co/t/anonymous-kibana-users/270071/9) I think that shows Elastic Cloud but self managed should be pretty much the same you can remove the basic auth so only have anonymous.

---

_[View the full topic](https://discuss.elastic.co/t/remove-elastic-auth-page-but-use-x-pack/313105)._
