stefanbuck / sails-social-auth-example

Sails.js Social Auth example with Passport and MongoDB
243 stars 62 forks source link

How to store user ids and api keys in config/env/production.js? #30

Closed musukvl closed 9 years ago

musukvl commented 9 years ago

Currently client ids and client secrets hardcoded in xStrategy constructors. How to move it to separated config, config/env/production.js for example?

stefanbuck commented 9 years ago

SailsJS is very well documented :wink: http://sailsjs.org/documentation/concepts/configuration