Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 845 Bytes

Authentication.md

File metadata and controls

28 lines (20 loc) · 845 Bytes

Authentication

In my years as developer I have use several Authentication tools, Here we are going to explain a bit some.

The auth process

auth_process.png

JSON Web Token (JWT)

Structure jwt_structure.png

JWT Signature Algorithms

signature_algorithms.png

JWT Issues

Summary:

  • Use symmetric digital signature algorithm only if your service is internal
  • Use Asymmetric digital signature algorithm if your API is public
  • In the process of verifying the token CHECK algorithm type to avoid security issue explained below jwt_issues.png

Platform-Agnostic SEcurity TOkens (PASETO)

paseto_explained.png

PASETO structure

paseto_structure.png