mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Vaultwarden API 500: Internal Server Error #1430
Reference in New Issue
Block a user
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).
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.