简体   繁体   English

单击 Gigya 帐户验证链接,如何将用户重定向到应用程序(如果可用)或网站?

[英]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) :如果用户点击“否”,那么它应该将用户重定向到我们的网站。

这里 ( flowchart ) (流程图)

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.

相关问题 Deeplink:如何在未安装应用程序而不是 Playstore 时将用户重定向到网站 - Deeplink: How to redirect user to a website when app is not installed instead of playstore 电子邮件验证后如何在移动应用程序内重定向用户,react-native? - How to redirect user inside mobile app after email verification, react-native? 将现有网站链接重定向到应用 expo 反应原生 - Redirect existing website link to app expo react native 如果未安装应用程序,如何从深层链接重定向到应用程序商店? - How to redirect to the app store from a deep link if the app is not installed? 向 Gigya 注册 Swift SDK 代码验证 email 未发送 - Registration with Gigya Swift SDK code verification email not being sent 如果用户删除了应用程序或更换了手机,如何恢复用户帐户? - How to recover user account if user has deleted the app or changed phone? 付款后如何将用户重定向回应用程序? - How to redirect user back to the app after payment? firebase:如何链接电子邮件验证和密码 - firebase: how to link email verification and password 如何将我的 react 原生网站链接到我的应用程序? - How do I link my react native website to my app? React Native:如何根据用户的帐户类型在登录后重定向到不同的页面? - React Native: How can I redirect after login to different pages depending on the type of account of a user?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM