[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Is it possible to specify a message in the 403 response in Rest Module?
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2024-01-23 12:04:00
Message-ID: FD55B14B-D228-4C28-9BA1-4C44BE71F9B2 () deployingradius ! com
[Download RAW message or body]

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.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic