You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/03/01 06:05:36 UTC

[GitHub] [apisix] oil-oil commented on issue #6460: request help: in authz-keycloak plugin is it possible to customize the "access denied" message?

oil-oil commented on issue #6460:
URL: https://github.com/apache/apisix/issues/6460#issuecomment-1055056324


   > > I think it would be a good idea to support this feature in `response-rewrite` as well. Currently, `response-rewrite` supports modifying the header when matching the response status code (for example, modifying the header to `Location: https://apisix.apache.org/` when matching `403`), but does not support modifying the response status at the same time.
   > 
   > Note that 403 may not return from authz-keycloak
   
   So I just need to add a new parameter to indicate the url address to redirect when there is no permission, Is it right?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org