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/02/27 11:27:02 UTC
[GitHub] [apisix] spacewander commented on issue #6460: request help: in authz-keycloak plugin is it possible to customize the "access denied" message?
spacewander commented on issue #6460:
URL: https://github.com/apache/apisix/issues/6460#issuecomment-1053522438
You can add a conf to redirect the client instead of
https://github.com/apache/apisix/blob/77e90d2f3d2e7023b5b19b4709805f548b979264/apisix/plugins/authz-keycloak.lua#L597-L599
We can use the redirect code there:
https://github.com/apache/apisix/blob/77e90d2f3d2e7023b5b19b4709805f548b979264/apisix/plugins/redirect.lua#L215-L216
PR is welcome!
--
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