Assigning users into a radius group

7 views
Skip to first unread message

Farhan Hanif

unread,
May 21, 2025, 9:17:52 AMMay 21
to OpenWISP

Hi everyone,

I'm trying to programmatically assign existing users to specific RADIUS groups in OpenWISP Freeradius using the API. I've been looking through the documentation and API docs, but I haven't found an obvious way to do this directly.

I initially thought a user would be assigned to a RADIUS group that shares the same name as a group within their organization. However, I've noticed that when I create a RADIUS group, the group name seems to be prefixed with the organization, like "{Organization_Slug}-{Radius_Group_Name}".

Could anyone clarify the correct procedure and provide an example API call or point me to the relevant documentation for associating users with RADIUS groups? Understanding the group naming convention in the API context would be especially helpful.

Thanks so much for your guidance!

Federico Capoano

unread,
May 21, 2025, 9:19:35 AMMay 21
to open...@googlegroups.com
This is missing from the OpenWISP RADIUS API:

Nobody has cared enough to add this feature yet.

Best regards
Federico Capoano
OpenWISP OÜ
Kotkapoja tn 2a-10, 10615, Harju maakond, Tallinn, Estonia
VAT: EE101989729


--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openwisp/5e0517b7-8f57-415b-8ce2-d6688b190b6bn%40googlegroups.com.

Farhan Hanif

unread,
May 21, 2025, 9:49:15 AMMay 21
to open...@googlegroups.com
I also haven't found the way to add a user into a radius group via the web ui, can you guide me on how to do that?

Thank you very much for the help.

You received this message because you are subscribed to a topic in the Google Groups "OpenWISP" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openwisp/NkyFJa0IRqc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openwisp+u...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6K_g2QGeyp-2ZoFS3mA63eeS%2Bpxm4LE6kpoamA%2B80fsFg%40mail.gmail.com.

Federico Capoano

unread,
May 21, 2025, 9:52:10 AMMay 21
to open...@googlegroups.com
Open the specific user and scroll down, make sure the user is member of the org, then add the radius user group, eg:

Screenshot from 2025-05-21 10-50-05.png

Best regards
Federico Capoano
OpenWISP OÜ
Kotkapoja tn 2a-10, 10615, Harju maakond, Tallinn, Estonia
VAT: EE101989729

Reply all
Reply to author
Forward
0 new messages