Update UseAuthentication middleware to support sessions #275
Labels
type::Feature
Issues/Pull requests that implement a new feature/enhancement
work::Product Development
Description
The
UseAuthentication
middleware currently verifies that the JWT token is valid. To support session management, this needs to be updated to check for either a session ID or a JWT cookie. If a session ID is present in the request, use the session ID lookup logic. If the cookie is a JWT, use the existing JWT authentication logic. This is to keep backwards compatibility with the app.We will remove the JWT logic at a later point.
For details on how this should be modified, view the example sequence diagram.
Approach
Blocks
Blocked By
Related To
The text was updated successfully, but these errors were encountered: