Service-Hub icon indicating copy to clipboard operation
Service-Hub copied to clipboard

Consider implementation of user authentication with authentication middleware

Open vadim-zabolotniy opened this issue 2 years ago • 0 comments

Current implementation of user authentication and authorization is not "elegant". We making user authorization in FastAPI dependency then authentication. Because of that we have duplicating JWT processing code base. Also, in case with access token, it leads to double DB queries to fetch same user.

vadim-zabolotniy avatar Jan 03 '23 09:01 vadim-zabolotniy