Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expired access token returns invalid_client error #1168

Open
1 task done
sunarch opened this issue Oct 30, 2024 · 0 comments
Open
1 task done

Expired access token returns invalid_client error #1168

sunarch opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sunarch
Copy link

sunarch commented Oct 30, 2024

Steps To Reproduce

  1. Set up a Secrets Manager access token and wait until it expires.
  2. Send an authentication request using the SDK.
  3. 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

  • 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.
@sunarch sunarch added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant