home..

Python/Flask JWT Project Implementation Overview

Python/Flask JWT Project Backend Implementation Overview (flask_portfolio)

Introduction to JWT

What is JWT? - Stands for JSON Web Token - Compact, URL-safe means of representing claims between two parties - Commonly used for authentication and information exchange in web development

Example (Login)

Encoded JWT:

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c

Decoded JWT: { “sub”: “1234567890”, “name”: “John Doe”, “iat”: 1516239022 }

Cookies

Tokens

Elaboration on JWT + Cookies…

Anatomy of Python Flask Review (flask_portfolio)

© 2024    •  Powered by Soopr   •  Theme  Moonwalk