mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #2990] Vaultwarden API 500: Internal Server Error #1436
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1436
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @modarken on GitHub (Dec 15, 2022).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/2990
Subject of the issue
Using Postman to try and connect to vaultwarden API I get a 500: Internal Server Error
Deployment environment
Docker
vaultwarden version: 1.26
Install method:
docker pull
Clients used:
chrome
Other relevant details:
Steps to reproduce
POST /public/identity/connect/token HTTP/1.1
Host: bitwarden.test.local
Content-Type: application/x-www-form-urlencoded
Content-Length: 136
grant_type=client_credentials&scope=api&client_id=user.xxxxx&client_secret=6Yxxxxx
Expected behavior
json return of token
Actual behaviour
<html lang="en"> <head> </head>500: Internal Server Error
The server encountered an internal error while processing this request.
Troubleshooting data
@BlackDex commented on GitHub (Dec 15, 2022):
Vaultwarden doesn't support the Bitwarden Public API, so that will never work.
At this moment Vaultwarden only supports the client API, which is why your request fails.
If you really want to login this way, make sure to use the client API, which also provides a
device_identifieranddevice_nameThe
device_identifieris a v4 UUID, which stays unique per device/client and keeps the same per user, even if it is the exact same device/application.