mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #2245] [MERGED] Add support for API keys #3072
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#3072
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/2245
Author: @jjlin
Created: 1/19/2022
Status: ✅ Merged
Merged: 1/23/2022
Merged by: @dani-garcia
Base:
main← Head:api-key📝 Commits (2)
69ee4a7Add support for API keys8f79007Fixscopeandrefresh_tokenfor API key logins📊 Changes
14 files changed (+182 additions, -17 deletions)
View changed files
➕
migrations/mysql/2022-01-17-234911_add_api_key/down.sql(+0 -0)➕
migrations/mysql/2022-01-17-234911_add_api_key/up.sql(+2 -0)➕
migrations/postgresql/2022-01-17-234911_add_api_key/down.sql(+0 -0)➕
migrations/postgresql/2022-01-17-234911_add_api_key/up.sql(+2 -0)➕
migrations/sqlite/2022-01-17-234911_add_api_key/down.sql(+0 -0)➕
migrations/sqlite/2022-01-17-234911_add_api_key/up.sql(+2 -0)📝
src/api/core/accounts.rs(+36 -3)📝
src/api/identity.rs(+94 -11)📝
src/crypto.rs(+28 -0)📝
src/db/models/device.rs(+7 -2)📝
src/db/models/user.rs(+8 -1)📝
src/db/schemas/mysql/schema.rs(+1 -0)📝
src/db/schemas/postgresql/schema.rs(+1 -0)📝
src/db/schemas/sqlite/schema.rs(+1 -0)📄 Description
This is mainly useful for CLI-based login automation.
Upstream PR: https://github.com/bitwarden/server/pull/981
Upstream docs: https://bitwarden.com/help/personal-api-key/
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.