Guest portal authentication not working #101
-
Hey, I have a problem with the authentication: I've tried to create an external captive portal with the API, the auth_guest_basic.php file as template (and config.php) and the following settings:
My Setup:
Now my problem: When the guest is redirected to the portal, the output is "false". I've already tried to google the problem. I saw a post and tried the code from there. Exactly the same code.
I hope anyone could help me. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Please provide some more details such the contents of the config.php file (without the password...) and how you are capturing the device and AP MAC addresses. |
Beta Was this translation helpful? Give feedback.
-
Ok, to start with the controller URL is missing the https:// prefix. |
Beta Was this translation helpful? Give feedback.
-
Thank you! It worked |
Beta Was this translation helpful? Give feedback.
-
Hi, I have a UDM PRO in which I am configuring a Hostpot Portal, in the redirection settings of the UDM I configured an external server, this external server is an API that I configure with Node JS to receive the connection requests to then show the user a form where he registers his data, up to this point everything works correctly, the problem I am having is when authorizing the user on the network to browse the internet I don't know if I should send any http response to the UDM then I need help with this. The connection request that arrives to the external server when someone connects looks like this: How do I authorize the user or what response should I send to allow the connection? |
Beta Was this translation helpful? Give feedback.
Ok, to start with the controller URL is missing the https:// prefix.