wenerme opened a new issue, #9735:
URL: https://github.com/apache/apisix/issues/9735

   ### Description
   
   As a user, I want to openid-connect support post check, so that I can do 
authz based on token.
   
   - authz-keycloak is complicated, don't support some features (e.g. check 
groups).
   - openid-connect is easy to setup
   
   I hope I can post check the token to do authz, e.g.
   
   ```yaml
   post_check: |
     return local function(access_token,id_token,userinfo,conf,ctx)
      // check access_token.groups contains something
      return 401, '{}'
     end
   ```


-- 
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]

Reply via email to