Captive portal login using google apps

时间:2017-09-12 12:39:29

标签: freeradius google-authenticator captiveportal

I have portal login page which is developed by PHP and there is in another side free radius server run into Ubuntu machine the authentication occurred by MySQL database and every thing go fine when registered user trying to access the internet, he must insert username and password. after that this user will authenticate using a free radius server. now I want users to be able to log in using google apps where I can insert users there . I installed the google authenticator in ubuntu machine and it can generate QR code successfully , but how can I use it . in another word , I have g suit account and domain where I can insert the users who can log in to my captive portal . how can I do that and why I must use google authenticator because I don't know how can I using it in my system because google authenticator only generate QR code that means every body can log in to my portal and I don't want that I hope I explained my problem clearly

1 个答案:

答案 0 :(得分:0)

我希望我能正确理解你的问题。基本上,您希望使用Google身份验证器在Freeradius中对用户进行身份验证。

您无法直接将QR码传递给Freeradius但您可以做的是,一旦使用网络上的QR码对用户进行身份验证,您就可以根据QR码会话生成唯一的用户名和密码,并将这些值插入到radcheck中并在身份验证请求中传递相同的用户名和密码。

这是使用Freeradius

在强制门户上进行社交媒体身份验证的非常通用的方法
相关问题