MirtoBusico commented on issue #9609:
URL: https://github.com/apache/apisix/issues/9609#issuecomment-1580266691
UPDATE
Trying to delete and recreate the Openid-connect plugin I see this warning
in the apisix pod:
```
2023/06/07 09:04:48 [warn] 52#52: *518838 [lua] openid-connect.lua:155:
check_schema(): when bearer_only = false, you'd better complete the session
configuration manually, context: ngx.timer
2023/06/07 09:04:48 [warn] 53#53: *518825 [lua] openid-connect.lua:155:
check_schema(): when bearer_only = false, you'd better complete the session
configuration manually, context: ngx.timer
2023/06/07 09:04:48 [warn] 51#51: *518829 [lua] openid-connect.lua:155:
check_schema(): when bearer_only = false, you'd better complete the session
configuration manually, context: ngx.timer
2023/06/07 09:04:48 [warn] 54#54: *518843 [lua] openid-connect.lua:155:
check_schema(): when bearer_only = false, you'd better complete the session
configuration manually, context: ngx.timer
2023/06/07 09:04:48 [warn] 57#57: *518827 [lua] openid-connect.lua:155:
check_schema(): when bearer_only = false, you'd better complete the session
configuration manually, context: ngx.timer
2023/06/07 09:04:48 [warn] 49#49: *518821 [lua] openid-connect.lua:155:
check_schema(): when bearer_only = false, you'd better complete the session
configuration manually, context: ngx.timer
2023/06/07 09:04:48 [warn] 50#50: *518837 [lua] openid-connect.lua:155:
check_schema(): when bearer_only = false, you'd better complete the session
configuration manually, context: ngx.timer
```
The route definition is:
```
{
"uri": "/*",
"name": "apisix-dashboard",
"desc": "apisix.h.net primary route",
"methods": [
"GET",
"POST",
"PUT",
"DELETE",
"PATCH",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE",
"PURGE"
],
"host": "apisix.h.net",
"plugins": {
"openid-connect": {
"_meta": {
"disable": false
},
"access_token_in_authorization_header": true,
"bearer_only": false,
"client_id": "hcadmins",
"client_secret": "08Xq1Av0txM0L06d0xdBTTjqgKica5C6",
"discovery":
"https://k6k.h.net/realms/hcluster_admins/.well-known/openid-configuration",
"introspection_endpoint_auth_method": "client_secret_post",
"realm": "hcluster_admins",
"redirect_uri": "https://apisix.h.net/",
"scope": "openid profile"
},
"redirect": {
"http_to_https": true
}
},
"upstream_id": "462214514335548089",
"status": 1
}
```
Seems that something is not correct in the plugin definition.
--
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]