-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't workingchange endpointRequest changes to an endpointRequest changes to an endpointenhancementNew feature or requestNew feature or request
Description
What
-
Configure authorized endpoints to return more specific error responses when a token is invalid.
-
Distinguish between cases such as:
- Token expired
- Token malformed/invalid
- Token missing
Why
- The frontend needs clearer feedback to handle authentication errors properly.
- Improves user experience (e.g., prompting re-login vs. showing an error).
- Helps with debugging and logging.
Acceptance Criteria
- Endpoints return
401 Unauthorizedwith a clear error code/message when the token is expired. - Endpoints return a distinct error when the token is malformed/invalid.
- Endpoints return a distinct error when the token is missing.
- Documentation updated with the possible error responses and their meanings.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingchange endpointRequest changes to an endpointRequest changes to an endpointenhancementNew feature or requestNew feature or request