appwrite / sdk-for-cli

[READ-ONLY] Official Appwrite CLI >_
BSD 3-Clause "New" or "Revised" License
91 stars 26 forks source link

🚀 Enhancement: Login with 2 Factor authentication #122

Closed blackfan23 closed 6 months ago

blackfan23 commented 7 months ago

🔖 Enhancement description

The CLI currently does not provide a method to login to the server if the user has 2 factor authentication enabled. The CLI should recognise if further factors are required and prompt the user to enter the totp.

🎤 Pitch

In its current state, the CLI is not usable when 2FA is enabled. While it is possible to work around this by temporarily disabling 2FA, it is not optimal.

👀 Have you spent some time to check if this issue has been raised before?

🏢 Have you read the Code of Conduct?

stnguyen90 commented 7 months ago

@blackfan23, thanks for raising this issue! 🙏🏼

Original discord thread: https://discord.com/channels/564160730845151244/1223958443560271912

stnguyen90 commented 6 months ago

Released in https://github.com/appwrite/sdk-for-cli/releases/tag/5.0.3