使用带有Symfony Security的Google身份验证器(Using Google Authenticator with Symfony Security)

编程入门 行业动态 更新时间:2024-10-18 23:32:19
使用带有Symfony Security的Google身份验证器(Using Google Authenticator with Symfony Security)

我想在我的Silex应用程序中添加2因子登录。

但是,我对如何使其正常工作有一些障碍。

我最大的问题是防火墙没有完全记录用户,而是将他们引导到页面以确认他们的身份。

我考虑过使用Symfony Guard,但是看一下文档,我没有看到任何可以阻止用户登录的内容。

我还没有任何代码,在这一点上,我只是想设计流程,在我有一个具体的执行计划后,我将开始编写代码。

I'm looking to add 2 factor login to my Silex app.

However, I'm having some road blocks on how to get this working correctly.

my biggest sticking point is having the firewall not fully log the user in and instead direct them to a page to confirm their identity.

I've thought about using Symfony Guard, but looking at the documentation, I didn't see anything that would let me prevent the user from being logged in.

I don't have any code yet, at this point, I'm just tying to design the flow and after I have a concrete execution plan, I was going to then begin writing code.

更多推荐

本文发布于:2023-08-07 07:35:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1462681.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:身份验证   Security   Symfony   Authenticator   Google

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!