Hi How to configure capitive portal in opnsense with local authentication.
You've posted this in the 17.1 Alpha forum, is that the version you're actually using? Have you read the documentation on this subject: https://docs.opnsense.org/manual/captiveportal.html - if not, I'd suggest you read that and then ask questions if you have any.