Topic: MDB CLI login with account created using Google account

Dava Bergeron free asked 4 years ago


Expected behavior I installed mdb typed "mdb login" Entered my google credentials (I used my google account when creating the MDB account). Was expecting to login successfully.

Actual behavior I get a 'Login failed' error message with my Google credentials (that I used to create my account on MDB)

Are there credentials I should find somewhere in the My Profile page of my account here to login with?

Resources (screenshots, code snippets etc.) Error message


goodfellastech priority commented 3 years ago

I am currently having the same issue right now.


Sebastian Kaczmarek staff answered 3 years ago


Recently, we have added social login support. It's out there for a while now and if you want to log in using Google/Facebook/Twitter just update to the latest version (3.0.0) and run:

$ mdb login --method google

Replace google with facebook or twitter depending on your provider. It's also mentioned in the docs


chokeul8r free answered 4 years ago


Cannot login with my credentials

┌─────────┬────────┬────────────────┐ │ (index) │ Status │ Message │ ├─────────┼────────┼────────────────┤ │ 0 │ 400 │ 'Login failed' │ └─────────┴────────┴────────────────┘


Sebastian Kaczmarek staff commented 4 years ago

What credentials do you use? CLI does not support Social Media login yet


Sebastian Kaczmarek staff answered 4 years ago


Currently, social login is not supported (MDB CLI is still beta). We will add such a feature in the future


dava-bergeron free commented 4 years ago

It would be nice if that was noted in the instructions.

I had to recreate an account using emailprefix+mdb@gmail.com instead of using my google account negatively.


Sebastian Kaczmarek staff commented 4 years ago

We will note this in the tutorial, thanks



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: Desktop PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No