abdulhannanali / authyfire-passwordless Goto Github PK
View Code? Open in Web Editor NEWPasswordless Authentication using Firebase and Authy by Twilio :fire: :lock:
Home Page: https://authyfunctions.firebaseapp.com
License: MIT License
Passwordless Authentication using Firebase and Authy by Twilio :fire: :lock:
Home Page: https://authyfunctions.firebaseapp.com
License: MIT License
Add a README.md file which explains about the project and the source code in it. This README file can be a starting point for our application and how we deal with different components represented within the README file.
Front end for this application is just to demonstrate the proper working of the application. The more important part in this application is about Firebase Functions so more importance should be paid to explain the working of functions within our application.
Some of the todos that can make the README.md file comprehensive
There are a bunch of Authy related errors, we should consider and provide appropriate validation for each of the errors, that might be important for the user, so they can stop trying.
Right now, if the user is banned for any reason known by Authy the error displayed will be in the lines of 503 Server Error but this is clearly not a server error, but a legitimate ban by the Authy. This should be displayed accordingly as it'll improve the user experience in many ways.
When the page loads, we should make test calls to the functions, and check if they exist. This way the user can be notified if the application is usable or not, by displaying appropriate information to the user.
The inputs right now, aren't validated before entering some value into them. This leads to some very unnecessary input requests which are totally useless. Having pre request validation can lead to avoidance of many extra requests to validate stuff.
Implementing this application with a blog post in mind, so it's important to keep things simple always in this application.
The ProfileView
currently only supports a display of a few of the fields that are there. This ProfileView component which is used in user dashboard can be made much more interactive for us to use.
This component can additionally support modification of fields such as Name, email etc. for the user.
List of the tasks we can do to make this more interactive
When the account is first created we use a placeholder email to identify the user, but whenever the user adds their own legitimate email. We should add this email to the user's given Authy ID, in order to keep the representation consistent and let Authy know of the different behaviors being performed.
A high priority feature I plan to work on, in order to update the data for a phone number any time an authentication is performed for a given client.
Why is this data important?
This data will allow us to make better decisions regarding the authentications, such as when the user is excessively attempting for a token, we can ban the user, even before Authy doing this for us, or this data can be helpful for the messages, as well as analytics too. Lots of usage.
Sometimes the SMS isn't received by the user, we want to make sure, they get and make proper use of the SMS for their purpose.
More data in authyRef
token, will allow us to better manage our login session and show more helpful messages to the user. Something we will do after the first iteration of this is done.
I am going for React in the UI.
Why React is a good choice?
Although, I think I should do it in DOM. It's a damn hard and time consuming approach for me. So React is the option.
Here are a few tasks I have to complete for this checklist.
Additional features
Force SMS functionality is important once in case the user is not currently on it's smartphone, we need a way to reach the user somehow.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.