fauna / fauna-shell

Interactive shell for FaunaDB
Other
75 stars 17 forks source link

Re-implement cloud-login, using the new config #270

Closed macmv closed 11 months ago

macmv commented 11 months ago

Ticket(s): ENG-5578

Updates cloud-login to use the new ShellConfig class for updating the config.

Email/password, with MFA are supported. Login through github/netlify are not. This matches the behavior before this PR.

Note that this command is not tested, and we don't have a library to test user interaction, so I haven't added tests. I did enable MFA and test out all the things manually, and it seems to be working well.