No idea what is going on... One minute an api path works, the next i'm unauthorised...
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Expected Behavior
maintaining session and not getting access denied 401
### Actual Behavior
So the web application is 90% built and has been fine for months, but now all of a sudden I lose authentication and session on a once working and untouched api route. If I rename the api route to abc it works again but if I rename it back, it doesn't work again...
Tested this in browser and postman and was fine in both...
http://127.0.0.1/api/advocate/cases (access denied)
http://127.0.0.1/api/advocateeeee/cases (works)
http://127.0.0.1/api/advisors/cases (works - same class and method different route)
I can't supply export as the project is under NDA and has sensitive material.
Uninstalled, went to appData folder, removed all the left behind stuff (nice un-install guys!) and then re-installed. Re-imported exported data and all is working again...
### Reproduction Steps
NDA can't share files.
### Is there an existing issue for this?
- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.
### Additional Information
_No response_
### Insomnia Version
2021.6.0
### What operating system are you using?
Windows
### Operating System Version
10 pro latest
### Installation method
download from website
### Last Known Working Insomnia version
2021.4.1
Contributor guide
Research direction
Start by retrying the listed API paths in a browser or Postman and compare the failing /api/advocate/cases route with /api/advocateeeee/cases and /api/advisors/cases. The issue provides no project files, tests, or shareable reproduction; the work is done only when the authentication and session behavior can be reproduced and the route-specific cause is identified.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100