FortiGate is sending Access-Request with user name and password and in exchange expect either Access-Reject (user authentication failed) or Access-Accept (user is OK). If you have a group match set to something but "any" then FortiGate does string comparison of configured towards Fortinet-Group-Name AVP which should be provided by RADIUS server inside Access-Accept. Note that it is simple string comparison, and the group string sent by RADIUS server might not have any relevance to actual user groups on the server itself.
Simple FreeRADIUS config example (user=grptest, password=fortinet, memberOf=group1):
---
grptest Cleartext-Password := "fortinet" User-Service-Type = Login-User, Group = "group1", Fortinet-Group-Name = "group1"