可以在密钥斗篷中使用基于SMS的OTP吗? [英] SMS based OTP in keycloak is possible?

查看:81
本文介绍了可以在密钥斗篷中使用基于SMS的OTP吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在探索密钥斗篷,并且我想构建一个基于用户手机号码的应用程序,SMS OTP应该交给用户进行身份验证.我找不到任何地方.

I am exploring keycloak and I want to build an application that was based on user mobile number, SMS OTP should go to the user for authentication. I am not finding any where.

推荐答案

可以通过扩展身份验证机制来检查

It is possible through extending Authentication mechanism, check Authentication SPI documentation

看看现有的解决方案: https://github.com/nickpack/keycloak-sms-authenticator-sns 即使它不能满足您的需求,您也可以将源代码作为参考点.

Take a look at existing solution: https://github.com/nickpack/keycloak-sms-authenticator-sns Even if it doesn't suite your needs you can take the source code as a reference point.

这篇关于可以在密钥斗篷中使用基于SMS的OTP吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆