starsz commented on issue #2426:
URL: https://github.com/apache/apisix/issues/2426#issuecomment-1094191152

   > > > Couldn't APISIX provide some generic auth callback endpoint that is 
automatically sent to the auth server
   > > 
   > > 
   > > Thanks @[david-woelfle](https://github.com/david-woelfle).It's a good 
idea. But there is some difference from Grafana.
   > > Apache APISIX is a gateway, we don't want to expose a fixed URL in the 
gateway since it will influence other APIs. So we should do more research to 
provide the best solution.
   > 
   > I see your point @starsz. How about a configurable endpoint, like what is 
already implemented in the [prometheus 
plugin](https://apisix.apache.org/docs/apisix/plugins/prometheus#how-to-specify-export-uri)?
 Could be a simple configuration option like this:
   > 
   > ```
   > plugin_attr:
   >   openid-connect:
   >     redirect_uri: /apisix/redirect
   > ```
   > 
   > And last but not least, thanks very much for working on this!
   
   I think it's a good idea. And I will try to have a test of it.


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