Before directly jumping into the topic of this post, lets understand how authentication is usually classified. So, authentication can be classified in two kinds - stateful and stateless.




Stateful Authentication




This picture explains how a normal process of getting logged in and authorized data fetching happens.

You login with...