Skip to content

Token error in common.js#4

Open
mad674 wants to merge 1 commit into
coderdost:mainfrom
mad674:main
Open

Token error in common.js#4
mad674 wants to merge 1 commit into
coderdost:mainfrom
mad674:main

Conversation

@mad674

@mad674 mad674 commented Dec 30, 2025

Copy link
Copy Markdown

Fixed authentication middleware execution by properly invoking passport. Authenticate with (req, res, next)
in common.js file.
Clarified that 401 responses after removing JWT are expected behavior for protected routes.
No changes required for build or production setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant