microbiomedata / nmdc-runtime

Runtime system for NMDC data management and orchestration
https://microbiomedata.github.io/nmdc-runtime/
Other
5 stars 3 forks source link

Endpoint `GET /users/me` responds with HTTP 500 instead of HTTP 401 #475

Open eecavanna opened 7 months ago

eecavanna commented 7 months ago

The GET /users/me endpoint responds with HTTP 500 ("Internal Server Error") when someone sends a request to it while logged out.

I expected it to respond with HTTP 401 ("Unauthorized").

Screenshot

image

Environment

App version: 1.3.0

image

References