rlm_rest: Authentication by token?

Jorge Pereira jpereira at freeradius.org
Sun Dec 19 11:12:18 CET 2021


Hi

> 
> Hi,
> 
> 
> In the documentation of rlm_rest I see several auth methods documented.
> My REST API works with a header field where a token is passed:
> 
> something like: curl -H "Authorization: Token $TOKEN"
> 
> 
> Is there a simple way to configure the rest module to generate this
> header or do I have to do something like:
> 
> 
> update control {
> 
>     REST-HTTP-Header := "Authorization: Token 0x123245678”
> 
> }

For sure, that is the way.





More information about the Freeradius-Users mailing list