# Does Gatekeeper support Basic Auth?

**URL:** <https://forum.keycloak.org/t/does-gatekeeper-support-basic-auth/3264>\
**Category:** Getting advice\
**Tags:** gatekeeper\
**Created:** [June 11, 2020, 12:56pm UTC](https://forum.keycloak.org/t/does-gatekeeper-support-basic-auth/3264 "2020-06-11T12:56:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricky](https://avatars.discourse-cdn.com/v4/letter/r/439d5e/32.png) [@ricky](https://forum.keycloak.org/u/ricky)\
**Post date:** [June 11, 2020, 12:56pm UTC](https://forum.keycloak.org/t/does-gatekeeper-support-basic-auth/3264/1 "2020-06-11T12:56:17Z")

</div>

Hi all, I successfully integrated gatekeeper and Keycloak to secure my applications. Now I’ve been asked to make sure that I still support basic auth.  
For what I read, Keycloak does support it, but I believe I need to enable that from the adapter. I learned that for the java adapter I would need to set “enable-basic-auth=true” does gatekeeper support it (when set it it failed to start with a message that the flag was not supported)?  
I would prefer not to have to write a dedicated java adapter for this if gatekeeper does.

Please advise,

Thank you!

Ricky

---

<div class="post-metadata">

**Author:** ![bbigras](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/bbigras/32/1268_2.png) [@bbigras](https://forum.keycloak.org/u/bbigras)\
**Post date:** [August 19, 2020, 7:40pm UTC](https://forum.keycloak.org/t/does-gatekeeper-support-basic-auth/3264/2 "2020-08-19T19:40:07Z")

</div>

I’m wondering the same thing.

I would like to be able to auth users on my git server with keycloak.
