Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Captive portal - New authentication functionality
« previous
next »
Print
Pages: [
1
]
Author
Topic: Captive portal - New authentication functionality (Read 2370 times)
andrelfc
Newbie
Posts: 1
Karma: 0
Captive portal - New authentication functionality
«
on:
April 17, 2020, 03:32:19 pm »
Hello, I wanted to add a new authentication functionality in the captive portal, where should I start?
Logged
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: Captive portal - New authentication functionality
«
Reply #1 on:
April 20, 2020, 10:40:33 am »
Hi there,
Authentication is fully pluggable. Take a look at:
https://github.com/opnsense/core/tree/master/src/opnsense/mvc/app/library/OPNsense/Auth
Voucher.php is a good example that is commonly used with captive portal. The development manual is also of interest in general terms.
https://docs.opnsense.org/develop.html
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
Captive portal - New authentication functionality