hagopj13 / hagopj13/node-express-boilerplate

Authorization routes

Open
#184 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

I have not changed any files but I created a new route :
`router.route('/buser').get(userController.bUser)` where `bUser ` is a function.

When I run this route, I get a authorization error. How do I create a unauthorized route.

Contributor guide

Open the contributing guide

Research direction

Start with the reported `router.route('/buser').get(userController.bUser)` entry point and inspect how authorization is applied to that route and to `userController.bUser`. Trace the request until the authorization error occurs. Done means the intended unauthorized route behavior is clear and works without incorrectly triggering authorization.

Written by the indexing model from the issue text.

Assessment

Tech stack
express, javascript, node.js
Domain
api, authorization, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.