You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
Authentication is configured for methods in a schema. However, when attempting to access an authenticated method without providing credentials or wrong credentials, the issue arises where the server does not handle the situation appropriately. Instead of returning a 401 status code for unauthenticated requests, tested when basic authentication is set, it results in an unhandled exception.
Expected:
The expected behaviour is to gracefully handle unauthenticated requests by returning a 401 status code. This will adhere to standard HTTP conventions and facilitate proper error handling on the client side.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description:
Authentication is configured for methods in a schema. However, when attempting to access an authenticated method without providing credentials or wrong credentials, the issue arises where the server does not handle the situation appropriately. Instead of returning a 401 status code for unauthenticated requests, tested when basic authentication is set, it results in an unhandled exception.
Expected:
The expected behaviour is to gracefully handle unauthenticated requests by returning a 401 status code. This will adhere to standard HTTP conventions and facilitate proper error handling on the client side.
Beta Was this translation helpful? Give feedback.
All reactions