Best Authentication Is ??

1 min read
1.) O Auth 2.0 (google,github ,etc )
2.) SMS based
3.) JWT
4.) BioMetric
Main Categorized as Session-Based and Sessionless
Sessionless Auth (Stateless )
uses JWT stored in cookies or localStorage
Best For React Application and Next
Session Based (stateful)
user server side session to store user Data.
examples are Passport.js ,Express-session
Use In PHP
0
Subscribe to my newsletter
Read articles from Shadab Ali directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
