Shibboleth 的反向代理未发送请求 POST

Reverse Proxy for Shibboleth not sending request POST

我正在尝试将从 Authenticating shibboleth 发送回我的网络服务器的 POST 请求发送回我的网络服务器,但我只收到一个 GET 请求。当这个 GET 请求被代理到我的网络服务器的回调时,它只会得到我们设置的 "hello"。

我想要完成的是通过代理发送 post 并在我的回调路径上接收它并提取属性并保存它们。

这是我目前拥有的架构:

Web -> Shibboleth 服务器 (/secure) -> 向我的 IDP 提供商进行身份验证 -> Returns 使用 POST 方法 /secure 然后我这里有一个我的反向代理将它发送到我的网络服务器,但只发生 GET 方法。

这些是 Apache 日志

[12/Jun/2018:19:40:03 +0000] "GET /secure HTTP/1.1" 302 841 (called to log in)

[12/Jun/2018:19:40:38 +0000] "POST /Shibboleth.sso/SAML2/POST HTTP/1.1" 302 238 (returning from the IdP)

[12/Jun/2018:19:40:38 +0000] "GET /secure HTTP/1.1" 200 5

我的反向代理配置:

<Location /secure >
    AuthType shibboleth
    ShibRequireSession On
    ShibRequestSetting applicationId default
    ShibUseHeaders On
    Require valid-user
</Location>

SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ProxyRequests off
ProxyPass /secure https://mywebsite.com/login/callback
ProxyPassReverse /secure https://mywebsite.com/login/callback
ProxyPreserveHost On

如有任何帮助,我们将不胜感激!

我能够通过 RewriteRule 发送 headers:

RewriteRule /secure https://website.com/login/callback

但是我在网络服务器上使用了 Get 回调方法,然后从那里重定向到我想要的地方。