jp-gouin commented on issue #3593:
URL: https://github.com/apache/apisix/issues/3593#issuecomment-782084028


   Sorry, I'm not sure to understand , i already use the openid-connect plugin.
   ```
   apiVersion: apisix.apache.org/v1
   kind: ApisixRoute
   metadata:
     name: foo-route
     namespace: poc-front-app
   spec:
     rules:
     - host: myawesomeapp.pocpoc.poc
       http:
         paths:
         - backend:
             serviceName: poc-front-appsvc
             servicePort: 80
           path: /*
           plugins:
           - name: openid-connect
             enable: true
             config:
               client_id: poc-apisix
               client_secret: edffb54f-3b2d-48a0-abcd-d2891824a722
               discovery: 
https://keycloak.example.lan/auth/realms/master/.well-known/openid-configuration
               introspection_endpoint: 
https://keycloak.example.lan/auth/realms/master/protocol/openid-connect/token/introspect
               bearer_only: false
               realm: master
               access_token_in_authorization_header: true
               introspection_endpoint_auth_method: "client_secret_basic"
               redirect_uri: "/redirect_uri"
   
   ```
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to