简体   繁体   中英

How to change meteor smart package redirect url?

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

@Shane Chin - Here is what I have in /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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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