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

后端 未结 5 1850
悲哀的现实
悲哀的现实 2021-02-01 23:58

I am learning meteor and have created a new app and installed accounts-core, accounts-google and accounts-ui. This worked as expected and prompted me to configure the google in

5条回答
  •  一个人的身影
    2021-02-02 00:09

    How about this.

    Clearing only account configuration.I have tried in my project.

    meteor mongo

    $ meteor mongo
    MongoDB shell version: 2.4.3
    connecting to: 127.0.0.1:3002/meteor
    > show collections
    meteor_accounts_loginServiceConfiguration
    posts
    system.indexes
    users
    > db.meteor_accounts_loginServiceConfiguration
    meteor.meteor_accounts_loginServiceConfiguration
    > db.meteor_accounts_loginServiceConfiguration.find()
    { "service" : "twitter", "consumerKey" : "MYconsumerKey", "secret" : "MYsecret", "_id" : "MYid" }
    >
    > db.meteor_accounts_loginServiceConfiguration.remove()
    

    Clearing all data in your project.

    $ meteor reset -h
    Usage: meteor reset
    
    Reset the current project to a fresh state. Removes all local
    data and kills any running meteor development servers.
    

提交回复
热议问题