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
Class-public
changed the title
When the database cannot be connected, /oauth2/token returns a 401 status code
When the database cannot be connected, /oauth2/token returns a 401 status code instead of 500
Nov 24, 2023
Preflight checklist
Ory Network Project
No response
Describe the bug
When the database cannot be connected, /oauth2/token returns a 401 status code instead of 500
Reproducing the bug
1、Create a OAuht2 Client with Client Credentail Mode
2、Restart the database and immediately request an access token
3、Then you can reproduce the bug
Relevant log output
No response
Relevant configuration
No response
Version
v2.1.2
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Kubernetes with Helm
Additional Context
No response
The text was updated successfully, but these errors were encountered: