简体   繁体   English

如何更改流星智能包重定向URL?

[英]How to change meteor smart package redirect url?

我已经将内置的accounts-facebook智能包与流星一起使用,并且想知道如何将重定向URL从localhost更改为其他站点。

@Shane Chin - Here is what I have in /helpers/config/: @Shane Chin-这是我在/ helpers / config /中的内容:

// http://docs.meteor.com/#accounts_config
    Accounts.ui.config({
      requestPermissions: {
        facebook: ['user_likes']
        // others tbd
      },
        requestOfflineToken:{
          // tbd
        },
        passwordSignupFields: 'USERNAME_AND_OPTIONAL_EMAIL'  
    });

In addition I would take a look at the link for configuring user accounts: http://docs.meteor.com/#accounts_config 此外,我还将查看用于配置用户帐户的链接: http : //docs.meteor.com/#accounts_config

Once this is setup it should ask you for details to setup the app AppID and Secrect which you can acquire from https://developers.facebook.com once you setup a new app with Facebook. 设置完成后,应询问您有关设置应用程序AppID和Secrect的详细信息,一旦使用Facebook设置了新应用程序,即可从https://developers.facebook.com获取。

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

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