Captive Portal with Student ID number

Hi

I have been tasked to investigate a solution to authenticate students via their uniquie student numbers and limit them to two logins. What is happening is they are handing out the SSID password to their mates.

This looks like it will help.

https://docs.netgate.com/pfsense/en/latest/captiveportal/common-scenarios.html