Nicolas,

You are welcome.

The captiveportal uses a challenge to support OTP from sources.

The default template for the displaying the challenge is challenge.html.

The only field that is required for the challenge is a password.

To better understand the work flow of the challenge you can also look at

/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication/Login.pm


On 2017-07-12 10:45 AM, Nicolás Catalani via PacketFence-users wrote:
Thanks for the quick response!
I understand. I'm going to try with these options and see what I can get.
Another question: when the captive portal shows up, it have two field: one for user and one for password. Is there a template for OTP or I need to modify the html file and the logic behind this?

Thank

2017-07-12 11:32 GMT-03:00 jrouzier via PacketFence-users <[email protected] <mailto:[email protected]>>:

    Nicolas,

    If your OTP implementation uses RADIUS just setup your Captive
    portal to use a radius authentication source and it should work.
    If not then you would need to to create a new
    pf::Authentication::Source you can use
    /usr/local/pf/lib/pf/Authentication/Source/RADIUSSource.pm as a
    reference.


    On 2017-07-12 10:24 AM, Nicolás Catalani via PacketFence-users wrote:
    Hi colleagues!

    We have implemented PacketFence and it works great! But now we
    would like to add a captive portal for wirelless access using
    OTP. The thing is We have our own OTP development. It is possible
    add this to authenticate a user? How We can get this done?

    Regards!


-- Nicolas Catalani.
    ​​



    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org!http://sdm.link/slashdot


    _______________________________________________
    PacketFence-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/packetfence-users
    <https://lists.sourceforge.net/lists/listinfo/packetfence-users>


    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    PacketFence-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/packetfence-users
    <https://lists.sourceforge.net/lists/listinfo/packetfence-users>




--
Nicolas Catalani.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to