Resolve "Implement endpoints for FreeRADIUS rlm_rest"
This MR adds endpoints for FreeRADIUS' rlm_rest module, for authorization and accounting.
To configure:
- Install
freeradius-rest
- Enable module in
mods-enabled
- Add
rest
into the blocksaccounting
andauthorize
indefault
andinner-tunnel
- Configure
rest
module as follows
connect_uri = "https://sis.example.com"
authorize {
uri = "${..connect_uri}/app/kompjuter/api/radius/auth/"
method = 'post'
body = 'json'
auth = 'basic'
username = 'client_id'
password = 'client_secret'
tls = ${..tls}
}
accounting {
uri = "${..connect_uri}/app/kompjuter/api/radius/acct/"
method = 'post'
body = 'json'
auth = 'basic'
username = 'client_id'
password = 'client_secret'
tls = ${..tls}
}
Closes #9 (closed)
Edited by Nik | Klampfradler