You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/10/24 01:12:12 UTC

[GitHub] [apisix] g-javi commented on pull request #8135: fix(openid-connect): return userinfo when use_jwks is true

g-javi commented on PR #8135:
URL: https://github.com/apache/apisix/pull/8135#issuecomment-1288271808

   > Could you suggest a way to check request header like x-userinfo ?
   
   @lovepocky Check this [test case](https://github.com/apache/apisix/blob/3887162bc387b89c121f1ccbd823848a388cd6f5/t/plugin/openid-connect.t#L211) and it's expected response
   
   ```
   --- response_body_like
   uri: /uri
   cookie: .*
   host: 127.0.0.1:1984
   user-agent: .*
   x-access-token: ey.*
   x-id-token: ey.*
   x-real-ip: 127.0.0.1
   x-refresh-token: ey.*
   x-userinfo: ey.*
   ```
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org