# Apache SAML authentication

**URL:** <https://devforum.okta.com/t/apache-saml-authentication/444>\
**Category:** SAML\
**Created:** [September 6, 2017, 9:20pm UTC](https://devforum.okta.com/t/apache-saml-authentication/444 "2017-09-06T21:20:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mallu](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mallu](https://devforum.okta.com/u/mallu)\
**Post date:** [September 6, 2017, 9:20pm UTC](https://devforum.okta.com/t/apache-saml-authentication/444/1 "2017-09-06T21:20:11Z")

</div>

I am using Mellon module on Apache webserver for authenticating with Okta. I am able to successfully authenticate user with Okta. The Apache webserver is acting as a proxy server for AWS elasticsearch/Kibana. After authentication, I would like to automatically redirect users to ElasticSearch/Kibana. Is it possible? I tried ProxyPass but I am getting a 404 error. It appears that Okta is sending a POSt request after authentication. Any help would be greatly appreciated.  
\<Location /\_plugin/kibana\>  
ProxyPreserveHost On  
ProxyPass /\_plugin/kibana \<kibana\_url\>  
ProxyPassReverse /\_plugin/kibana \<kibana\_url\>  
SSLProxyEngine on  
SSLProxyCheckPeerCN off  
SSLProxyCheckPeerExpire off  
SSLProxyCheckPeerName off

This is what I am trying to achieve:  
Webserver–\> okta → webserver → EleasticSearch/kibana

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 7:01pm UTC](https://devforum.okta.com/t/apache-saml-authentication/444/2 "2024-02-12T19:01:00Z")

</div>


