Hi Aliaksandr,
Thanks for the doc. I tried raising OxAuth logs to "DEBUG" but I still don't see any trace of the failing UserInfo request.
If I monitor Apache httpd access logs during my test, I see the following requests received:
X.X.X.X - - [21/Jan/2019:11:22:42 +0000] "GET /oxauth/restv1/authorize?scope=openid+email+profile+permission&redirect_uri=...&client_id=...&response_type=code&state=... HTTP/1.1" 302 - "https://jupyter.biomass-maap.com/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0"
Y.Y.Y.Y - - [21/Jan/2019:11:22:42 +0000] "POST /oxauth/restv1/token HTTP/1.1" 200 946 "-" "JupyterHub"
Y.Y.Y.Y - - [21/Jan/2019:11:22:42 +0000] "GET /oxauth/restv1/userinfo HTTP/1.1" 401 349 "-" "JupyterHub"
But, if I monitor OxAuth debug logs, the last trace I have is the end of successfully handling "token" request :
2019-01-21 11:22:42,394 DEBUG [qtp804611486-14] [xdi.oxauth.token.ws.rs.TokenRestWebServiceImpl] (TokenRestWebServiceImpl.java:168) - Issuing access token: 76d4571f-6058-4092-b8da-c792b239c854
2019-01-21 11:22:42,401 DEBUG [qtp804611486-14] [org.xdi.oxauth.model.common.AuthorizationGrant] (AuthorizationGrant.java:150) - Saving grant: d1220ed8-0ed0-4f48-896f-274c450f368b, code_challenge: null
Do you have any idea of what might block UserInfo request with HTTP 401 error between Apache proxy and OxAuth application?
Regards,
Olivier