Re: rlm_rest: update attributes on http/401 response?

Nathan Ward <[email protected]> Tue, 24 Mar 2026 23:52:06 -0400
Newsgroups gmane.comp.freeradius.user
Message-ID <CACx0ryZpeSafrC0Hxq9Z5n1X8kBCAiM0tv=RvYghvE4mR-62bw@mail.gmail.com>
On 25 Mar 2026 at 4:52:09 AM, GIRSTMAIR Tobias via Freeradius-Users <
[email protected]> wrote:

> Hi all,
>
> However, this does not work: no attributes are updated, and this gets
> pritned to the logs:
>
> Tue Mar 24 15:07:29 2026 : ERROR: (822634) rest: ERROR: Server
> returned:
> Tue Mar 24 15:07:29 2026 : ERROR: (822634) rest: ERROR:
> {"control:mycompany-reason":"the failure message"}
> Tue Mar 24 15:07:29 2026 : Auth: (822634) Rejected in post-auth:
> [[email protected]/<via Auth-Type = eap>] (from client nas01.example.com
> port 0 cli aabbccddeeff)
>

Does the 401 have a Content-Type: application/json header?

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