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/20 08:05:16 UTC
[GitHub] [apisix] lovepocky opened a new issue, #8133: bug: plugin(openid-connect): when set `use_jwks: true`, userinfo is not set
lovepocky opened a new issue, #8133:
URL: https://github.com/apache/apisix/issues/8133
### Current Behavior
When set `use_jwks: true`, the plugin not set userinfo into headers
https://github.com/apache/apisix/blob/23356d6c4a58379f5cf33be92e0d88cc6399a853/apisix/plugins/openid-connect.lua#L228-L240
maybe line 240 should be `return res, err, token, res` ?
### Expected Behavior
userinfo set into headers as x-userinfo
### Error Logs
_No response_
### Steps to Reproduce
configs:
```yaml
routes:
- uri:
plugins:
openid-connect:
# https://github.com/apache/apisix/issues/5425
client_id: xxx
client_secret: xxx
discovery: some_host/oidc/.well-known/openid-configuration
use_jwks: true
bearer_only: true
access_token_in_authorization_header: true
set_userinfo_header: true
```
### Environment
- APISIX version (docker: 2.15.0-alpine):
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix] spacewander closed issue #8133: bug: plugin(openid-connect): when set `use_jwks: true`, userinfo is not set
Posted by GitBox <gi...@apache.org>.
spacewander closed issue #8133: bug: plugin(openid-connect): when set `use_jwks: true`, userinfo is not set
URL: https://github.com/apache/apisix/issues/8133
--
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
[GitHub] [apisix] monkeyDluffy6017 commented on issue #8133: bug: plugin(openid-connect): when set `use_jwks: true`, userinfo is not set
Posted by GitBox <gi...@apache.org>.
monkeyDluffy6017 commented on issue #8133:
URL: https://github.com/apache/apisix/issues/8133#issuecomment-1285142331
I think you are right, the PR is welcome
--
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