sdk
sdk copied to clipboard
Expired access token returns invalid_client error
Steps To Reproduce
- Set up a Secrets Manager access token and wait until it expires.
- Send an authentication request using the SDK.
- Receive authentication error.
Expected Result
Some more informative error message would be useful, like the one when the access token is not present or has an invalid value. I realize that a more specific message for this situation could be undesirable, but a generic one, e.g. "unauthorized", could help to determine where to look for the error, i.e. in the credentials and not the client/SDK code.
Actual Result
The authentication returns an error message with bad request, error: invalid_client
Screenshots or Videos
No response
Additional Context
No response
Operating System
Linux
Operating System Version
No response
Build Version
1.0.0
Issue Tracking Info
- [X] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.