Using captive portal to save mac addresses in a 3rd party app
I've been reading around in this forum but haven't found an answer (or a hint, even) about how I might solve my problem, hopefully you guys can help point me in a direction.
I have a pfsense 2.1 system configured in our coworking space. We haven't done anything with access control and don't really want to, but what we are interested in is storing peoples' mac addresses along with their account in our membership management app.
Ideally, the workflow would go something like this:
- Someone connects to the network and their mac address is checked against our database.
- If we have it already, they move along seamlessly.
- If we don't have it, they're asked to log in and we save that mac address in our database, then send them on their way.
A lot of this logic would happen in our app, even if it's a brief redirect each time they connect to the network. I'm just not sure if it's possible (or if captive portal is even the right part of the system) to send people over to our system and pass along their mac address.
Thanks in advance for your help!