[英]how to redirect user to App (if available) or to website , on click of Gigya account verification link?
I have a requirement which says,我有一个要求说,
on click of a account registration verification link which I received in my email from Gigya, then>>>单击我在 Gigya 的 email 中收到的帐户注册验证链接,然后>>>
rule 1 : If I have an application installed in my mobile it should open that.规则 1 :如果我的手机中安装了一个应用程序,它应该打开它。 or
或者
rule 2 : If I don't have the application, then it should ask user to install the app with an option YES and NO.规则 2 :如果我没有应用程序,那么它应该要求用户安装应用程序,并选择“是”和“否”。
rule 2(a) : if user clicks on yes, It should install the app the user will be redirected to respective page.规则 2(a) :如果用户点击是,它应该安装应用程序,用户将被重定向到相应的页面。
rule 2(b) : if user clicks on NO, Then it should redirect user to our website.规则 2(b) :如果用户点击“否”,那么它应该将用户重定向到我们的网站。
This is not possible.这是不可能的。 The verification is handled on the Gigya level.
验证在 Gigya 级别处理。 The link in the email contains a token and has to arrive at our website.
email 中的链接包含一个令牌,必须到达我们的网站。 Only then can the user actually login to your site/app.
只有这样,用户才能真正登录到您的站点/应用程序。 You can redirect the user after verification, but you would have to handle all of this logic on the page you redirect them to after their account is fully registered.
您可以在验证后重定向用户,但是在他们的帐户完全注册后,您必须在将他们重定向到的页面上处理所有这些逻辑。
https://developers.gigya.com/display/GD/Policies#Policies-LinkVerificationConfigurationOptions https://developers.gigya.com/display/GD/Policies#Policies-LinkVerificationConfigurationOptions
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.