parse-server icon indicating copy to clipboard operation
parse-server copied to clipboard

Cannot Add Multiple Twitter oauth keys in index.js

Open sprabs opened this issue 10 years ago • 0 comments

In the index.js file on parse-server, I have a setup like this (hosted on AWS EB):

oauth: { facebook: { appIds: process.env.FACEBOOK_APP_ID }, twitter: { consumer_key: process.env.TWITTER_CONSUMER_KEY, consumer_secret: process.env.TWITTER_SECRET_KEY } }

We currently use different Twitter keys for our iOS and Android clients. What's the best way to add both sets of keys?

sprabs avatar Jul 12 '16 01:07 sprabs