How do I reset twitter login configuration once I have set it for my meteor app?


$ meteor mongo
MongoDB shell version: 3.2.12
connecting to: 127.0.0.1:3001/meteor
Welcome to the MongoDB shell.
For interactive help, type "help".
For more comprehensive documentation, see
        http://docs.mongodb.org/
Questions? Try the support group
        http://groups.google.com/group/mongodb-user
Server has startup warnings:
2017-04-05T21:08:28.261+0000 I CONTROL  [initandlisten]
2017-04-05T21:08:28.261+0000 I CONTROL  [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 1881 processes, 4096 files. Number of processes should be at least 2048 : 0.5 times number of files.
meteor:PRIMARY>  show collections
meteor_accounts_loginServiceConfiguration
meteor_oauth_pendingCredentials
meteor_oauth_pendingRequestTokens
users
meteor:PRIMARY> db.meteor_accounts_loginServiceConfiguration
meteor.meteor_accounts_loginServiceConfiguration

meteor:PRIMARY> db.meteor_accounts_loginServiceConfiguration.find()
{ "_id" : "HYhPMfGPDbbNXDiLp", "service" : "twitter", "consumerKey" : "x2cI0YRQpNWJoLpSbsjWURysT", "secret" : "wNxktudZ96xcDjEigFoymR5r1xSxQizBX0J0lA0pXEIbwC4heX", "loginStyle" : "popup" }
meteor:PRIMARY>

meteor:PRIMARY> db.meteor_accounts_loginServiceConfiguration.remove({"service":"twitter"})
WriteResult({ "nRemoved" : 1 })


References:

http://stackoverflow.com/questions/17098307/how-do-i-reset-google-login-configuration-once-i-have-set-it-for-my-meteor-app


Comments

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR