Open trs80 opened 2 years ago
We already do support RFC7910bis which is the DHCP part of the 2 articles you posted.
See this issue for details: https://github.com/inverse-inc/packetfence/issues/5638
As for implementing the JSON response in the probes, I doubt there is a solid use-case for that yet but I may be proved wrong.
I'll leave this opened for the captive-portal JSON API part
Thanks, looking at the commit it seems the JSON API is also partially implemented https://github.com/inverse-inc/packetfence/pull/5781/files#diff-a3d793d6403ce6cea334b613ebd873e0766774036c416915735dd3165ec6b9c4R138
Perhaps then this is more a request for documentation that it already exists.
RFC 8908 describes an API for captive portals so clients can go directly to the URL instead of having to probe and be redirected.
It's got good client support, being implemented in Android 11/12 - https://developer.android.com/about/versions/11/features/captive-portal and iOS 14+ - https://developer.apple.com/news/?id=q78sq5rv