You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are starting to think about new login methods that will be available for future releases.
We would love to get the community feedback regarding new ideas for user signups:
These are some of the ideas we have, and we would like to get more.
OTP / Email code
SMS
Email
Anonymous login
2FA (should work only with email/password or with any method?)
Hardware U2F keys
WebAuthn API
Existing OAuth Access token
If you have reference for implementations in other projects or apps that will be great, also any technical docs could be awesome as well.
@christyjacob4 thats sound like a good idea but we don’t want to be biased towards a commercial company like @twillio (which I love, but that doesn’t matter), or make the setup more complex. I guess that we should allow different adapters to allow the enabling of this kind of features as there are no notable open-source solutions that I am aware of either for calls or SMS.
How do you see the workflow of enabling SMS / Call services as part of the authentication service? Is it part of the settings? A new settings page just for auth? Love to get your feedback
Anyway I think it important that we put a lot of emphasis on making sure we stay un-opinionated where we can’t use open-source solutions and easy to get started or setup even when such a 3rd party integration possible, meaning it shouldn’t be a requirement to setup.
Hi @eldadfux , in my opinion, email ownership may be changed over time. Especially when users login with business emails. So we can't distinguish whether it's the same person or not.
Additionally, Firebase by Google provides a good sdk for authentication purpose, which will reduce a lot of work.
@sagarvd01 I definitely agree that email ownership may change over time. This is something we need to think of when relying on email as the main recovery process and identification of the user's accounts.
I don't think the usage of business email should be a major concern for us, as this can actually be treated as an advantage for people wanting to have different accounts for personal or company usage.
Regarding Firebase, we are building an open-source and self-hosted product. Meaning, people can use it for free, set it up everywhere they want and control their data. Relying on a commercial, paid, SAAS product as an internal dependency will go against all these goals.
Hi @eldadfux you might want to have a look at Jasmin SMS gateway to implement SMS login and varification. It is open source and can be readily containerized with Docker, and it supports both http and smpp protocols.
As mentioned in #354 another useful method we can add here is to login with existing OAuth access tokens (today we are creating them ourselves). This will be specially beneficial when integrating with native OAuth SDKs for better UX.
Activity
sagarvd01 commentedon Oct 29, 2019
My suggestions on this are
eldadfux commentedon Oct 29, 2019
@sagarvd01 thanks for your feedback.
Why in your opinion OTP alone isn't safe enough?
About the Anonymous login, we already have abuse mechanism in place the work on all login methods to protect from brute-force attacks.
christyjacob4 commentedon Oct 30, 2019
@eldadfux There are also situations where a user may want to receive a call get the OTP instead of an SMS. Twilio seems to be the most popular option to handle SMS, Calls and Emails
https://www.twilio.com/
eldadfux commentedon Oct 30, 2019
@christyjacob4 thats sound like a good idea but we don’t want to be biased towards a commercial company like @twillio (which I love, but that doesn’t matter), or make the setup more complex. I guess that we should allow different adapters to allow the enabling of this kind of features as there are no notable open-source solutions that I am aware of either for calls or SMS.
How do you see the workflow of enabling SMS / Call services as part of the authentication service? Is it part of the settings? A new settings page just for auth? Love to get your feedback
Anyway I think it important that we put a lot of emphasis on making sure we stay un-opinionated where we can’t use open-source solutions and easy to get started or setup even when such a 3rd party integration possible, meaning it shouldn’t be a requirement to setup.
sagarvd01 commentedon Oct 31, 2019
Hi @eldadfux , in my opinion, email ownership may be changed over time. Especially when users login with business emails. So we can't distinguish whether it's the same person or not.
Additionally, Firebase by Google provides a good sdk for authentication purpose, which will reduce a lot of work.
eldadfux commentedon Nov 1, 2019
@sagarvd01 I definitely agree that email ownership may change over time. This is something we need to think of when relying on email as the main recovery process and identification of the user's accounts.
I don't think the usage of business email should be a major concern for us, as this can actually be treated as an advantage for people wanting to have different accounts for personal or company usage.
Regarding Firebase, we are building an open-source and self-hosted product. Meaning, people can use it for free, set it up everywhere they want and control their data. Relying on a commercial, paid, SAAS product as an internal dependency will go against all these goals.
monatis commentedon Nov 14, 2019
Hi @eldadfux you might want to have a look at Jasmin SMS gateway to implement SMS login and varification. It is open source and can be readily containerized with Docker, and it supports both http and smpp protocols.
eldadfux commentedon Nov 14, 2019
@monatis wow this seems like a really cool project and it's awesome they have a docker container! checking it out now.. thank you!
m7md10 commentedon Jun 17, 2020
Glad I found this amazing project , one thing that keeps me away to switch from Firebase is Phone number auth , any update about SMS login method?
thanks!
eldadfux commentedon Jun 17, 2020
@m7md10 this is something we definitely want to add, but no timelines yet.
drandell commentedon Jun 20, 2020
A create session & return access token would be very useful login alternative.
PineappleIOnic commentedon Sep 2, 2020
Hardware U2F keys would be a nice addition for those who require alot of security on appwrite
eldadfux commentedon Sep 3, 2020
@PineappleIOnic cool idea!
PineappleIOnic commentedon Sep 4, 2020
We could use the WebAuthn API for the client-side prospect which has wide compatability with firefox, chrome, edge and safari.
eldadfux commentedon Sep 10, 2020
As mentioned in #354 another useful method we can add here is to login with existing OAuth access tokens (today we are creating them ourselves). This will be specially beneficial when integrating with native OAuth SDKs for better UX.
saibotma commentedon Nov 30, 2020
Anonymous login or login by username without an email would be great as some projects don't have unique emails for their users.
templatedop commentedon Jan 4, 2021
SMS OTP login will be the best one.