繁体   English   中英

WSO2 IdentitiServer 5.10.0:如何将路由移动短信提供商与 Wso2 身份服务器 MFA 集成

[英]WSO2 IdentitiServer 5.10.0 :How to integrate route mobile SMS Provider with Wso2 Identity server MFA

我们已将 WSO2 身份服务器多因素身份验证与我们的 web 应用程序集成,并使用 Nexmo(Vonage) 免费帐户测试了 SMS Otp。 现在我们想集成用于发送短信 otp 的路由移动短信提供商,但是它将进行消息验证(仅发送配置的消息格式)。 那么如何配置 $ctx.msg 来发送在 route mobile 中配置的消息格式。

我们正在使用以下步骤使用路由移动来集成 MFA:
https://is.docs.wso2.com/en/5.10.0/learn/configuring-sms-otp/

路由手机短信Url格式:

https://host/bulksms/bulksms?username=xxx&password=yyy&type=0&dlr=1&destination=$ctx.num&source=xxx&message=Your OTP code is $ctx.msg Kindly use it to verify your contact number on xxxx Application. Code valid for 5 minutes only.

您可以在<HOME>/repository/conf/sms/sms-templates-admin-config.xml中更改 SMS 的消息模板。 更改后,重新启动服务器。

如果不想重启服务器,可以按照[1],在Registry中更改模板。

仅供参考,[2] 是在 wso2 中设置 SMS OTP 的好书

[1] https://docs.wso2.com/display/IS570/Managing+SMS+Notification+Templates+Using+the+Registry [2] https://medium.com/identity-beyond-borders/self-registration -with-sms-confirmation-in-wso2-identity-server-5-10-0-onwards-fb59e6465631

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM