rlm_rest: update attributes on http/401 response?

Nathan Ward lists+freeradius at daork.net
Wed Mar 25 03:52:06 UTC 2026


On 25 Mar 2026 at 4:52:09 AM, GIRSTMAIR Tobias via Freeradius-Users <
freeradius-users at lists.freeradius.org> 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:
> [user at example.com/<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


More information about the Freeradius-Users mailing list