lihansir opened a new issue #2921:
URL: https://github.com/apache/apisix/issues/2921


   ### Issue description
   I created a router, and use the oidc plugin
   1、Currently, only bearer_only is true, I carry an Authorization bearer token 
 Header, which can be verified and accessed normally。
        But when the bearer_only is false, it always redirects to the page I 
set up, but can not be verified and accessed normally。
   
   2、When a request didn't carry an Authorization bearer token  Header or the 
token is error
            when the bearer_only is true, it always redirects to 401 page, but 
can't  redirects to the page I set up。How can I do?
   
   Or have more detailed documentation for me about oidc plugin
         
   ### Environment
   
   * apisix version: 2.0
   * OS: Centos7
   


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


Reply via email to