Authentication or auth for short is the process where a server recognizes the identity of a user. Authorization is then done, to allocate a role to the authenticated user and allocate the required services to that particular user. There are 2 ways you can implement auth:Server-side sessions and JWTs.
Table of contents
What is Authentication?SessionsJSON Web Tokens (JWTs)Pros and Cons of using SessionsPros and Cons of using JWTsWhich one should you use?Resources12 Comments
Sort: