首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >gigya redirectUrl在showLoginUI中不起作用

gigya redirectUrl在showLoginUI中不起作用
EN

Stack Overflow用户
提问于 2013-01-21 19:23:39
回答 1查看 1.1K关注 0票数 4

我已经在我的html中尝试并使用了gigya showLoginUI javascript插件。这个插件渲染了社交图标。我正在尝试使用gigya的重定向功能。我已经在我的javascript中提到了redirectURL。gigya仍然不会重定向到指定的url。请找到以下两个代码示例

代码语言:javascript
复制
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',
        });
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-01-21 19:27:26

根据gigya文档,如果redirectURL需要工作,showLoginUI js应该有参数

代码语言:javascript
复制
authFlow:'redirect'

包含在其中。您的javascript中缺少此参数。请参阅文档,网址为

gigya documentation

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14437582

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档