Closed maoudia-via closed 2 weeks ago
You can build pluggable authentication method easily:
https://docs.opnsense.org/development/components/authentication.html
Cheers, Franco
Thank you for the quick response. So in the Captive Portal configuration, this would appear as another authentication method . Correct ?
When configured… same as any other type
Thank you !
One follow up question as I am new to development in OpnSense : I see the existing authentication classes are under src/opnsense/mvc/app/library/OPNsense/Auth/Radius.php in Core. Is it necessary to build a new image with the addition of the new Authentication class or can the authentication class be added as a plugin ?
Plugin makes more sense, but for custom deployments just dropping the file in the target system is more than enough.
Important notices
Our forum is located at https://forum.opnsense.org , please consider joining discussions there in stead of using GitHub for these matters.
Before you ask a new question, we ask you kindly to acknowledge the following:
I am try to understand the feasibility of using a custom authentication mechanism for Captive Portal. My goal is to :
I would like to know: