slysiou opened a new issue, #10149:
URL: https://github.com/apache/apisix/issues/10149

   ### Description
   
   Hi,
   
   I am using the container 
[jc21/nginx-proxy-manager](http://192.168.111.240:9000/#!/4/docker/images/jc21~2Fnginx-proxy-manager%3Alatest)
 as the first reverse proxy. Very convenient UI to generate and update SSL 
certificate.
   APISIX after this first NGINX.
   
   Internet --- NGINX proxy manager --- APISIX with openid-connect --- Web app
   
   After authentication, redirection to 
`https://xxxx.com:/callback?state=XXXXX&session_state=xxxxx&code=xxxx` generate 
this error: 
   ```
   XXXXX XXXX [error] 54#54: *52215124 [lua] openidc.lua:1475: authenticate(): 
request to the redirect_uri path but there's no session state found ...
   ```
   
   If I bypass the first NGINX (using [ngrok](https://ngrok.com/)) everything 
works fine.
   
   I get to the conclusion that the first NGINX is blocking an information 
needed for openid-connect. But, after 2 days searching, I can't find it.
   
   Is anyone using the same kind of architecture ?
   Any idea of the missing information ?
   
   Env:
   
   
   
   ### Environment
   
   - APISIX container: 
[apache/apisix:3.4.1-debian](http://192.168.111.240:9000/#!/4/docker/images/apache~2Fapisix%3A3.4.1-debian)
   - NGINX Manager: 
[jc21/nginx-proxy-manager](http://192.168.111.240:9000/#!/4/docker/images/jc21~2Fnginx-proxy-manager%3Alatest)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to