iam-abbas / FastAPI-Production-Boilerplate

A scalable and production ready boilerplate for FastAPI
MIT License
437 stars 67 forks source link

Authentication Middleware #14

Open daniilmastrangeli opened 4 months ago

daniilmastrangeli commented 4 months ago

Why don't we use the JWTHandler class in the authentication middleware to decode the received token, so we can also handle exceptions properly?

iam-abbas commented 4 months ago

thats a good suggestion, do you want to do it?