23 Jan
2024
23 Jan
'24
7:04 a.m.
On Jan 23, 2024, at 5:57 AM, 남혁준 <sawd1598@gmail.com> wrote:
I mainly use the Rest module. ... However, I confirmed that "Module-Failure-Message" in the 403 response contained the message "rest: Server returned:".
It looks like it could be connected by conveying an additional message.
If possible, I want the message to be delivered together and appended to the end, even if it responds with a 403 rejection.
ex) rest: Server returned: Sorry, Server Reject"
Is this possible behavior?
Sure. The code is in rlm_rest.c. There's a small difference between the 403 and 401 error cases. We're happy to accept patches on GitHub. Otherwise, we'll put it on the list of things to do, and take a look at some point later. Alan DeKok.