Baoyuantop commented on issue #13397: URL: https://github.com/apache/apisix/issues/13397#issuecomment-4549961241
This looks like a real behavior gap in the openid-connect plugin. Today claim_schema is enforced in the openidc.authenticate() session/callback path, but the bearer-token path can validate the token and set headers without applying the same claim_schema check. We should first confirm the intended semantics: either claim_schema should apply to bearer-token validation too, or the documentation must explicitly say it only applies to the session/callback response shape. My preference is to add bearer-path coverage with clear tests for introspection/JWKS/public-key modes, because users reasonably expect the same route-level claim constraint to apply to bearer requests. -- 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]
