Marco-Zheng commented on issue #4129: URL: https://github.com/apache/apisix/issues/4129#issuecomment-826575688
> This is caused by an invalid authorization header value. You should check this authorization header. > Looking at the test case, Authorization should be `"Bearer"+ "access_token"`. > > https://github.com/apache/apisix/blob/8b4a36b0c233e9ceb750f3120bd5f4798ac199b8/t/plugin/openid-connect.t#L1408 my service config like this ``` { "name": "dental-pratice-patient-web-dev", "desc": "患者dev服务", "upstream_id": "102", "plugins": { "cors": { "disable": false }, "jwt-auth": { "disable": true }, "limit-conn": { "burst": 0, "conn": 1, "default_conn_delay": 0.1, "disable": true, "key": "remote_addr", "rejected_code": 503 }, "limit-req": { "burst": 1, "disable": true, "key": "remote_addr", "rate": 3, "rejected_code": 503 }, "openid-connect": { "bearer_only": true, "client_id": "apisix", "client_secret": "client_secret_code", "disable": false, "discovery": "http://localhost:8888/oidc/token", "introspection_endpoint": "http://localhost:8888/oidc/auth", "introspection_endpoint_auth_method": "client_secret_basic", "realm": "master" }, "request-id": { "disable": false, "include_in_response": true } } }' ``` -- 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. For queries about this service, please contact Infrastructure at: [email protected]
