gpt4 book ai didi

gigya redirectUrl 在 showLoginUI 中不起作用

转载 作者:行者123 更新时间:2023-12-01 18:26:54 28 4
gpt4 key购买 nike

我已经尝试在我的 html 中使用 gigya showLoginUI javascript 插件。该插件呈现社交图标。我正在尝试使用 gigya 的重定向功能。我在我的 javascript 中提到了redirectURL。 gigya 仍然没有重定向到指定的 url。请查找下面的代码示例

gigya.socialize.showLoginUI({
height: 85
,width: 100,
showTermsLink:false // remove 'Terms' link
,hideGigyaLink:true // remove 'Gigya' link
,buttonsStyle: 'standard' // Change the default buttons design to "Full Logos" design
,enabledProviders: 'facebook,twitter'
,showWhatsThis: false // Pop-up a hint describing the Login Plugin, when the user rolls over the Gigya link.
,containerID: 'loginDiv' // The component will embed itself inside the loginDiv Div

,sessionExpiration:0,
redirectURL:'https:...',
authCodeOnly:'true',
});

最佳答案

根据 gigya 文档,如果重定向URL 需要工作,则 showLoginUI js 应该具有参数

authFlow:'redirect'

包含在其中。您的 JavaScript 中缺少此参数。请参阅文档

gigya documentation

关于gigya redirectUrl 在 showLoginUI 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14437582/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com