mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 01:35:54 +03:00
[PR #2907] [CLOSED] Impl the "org API key" and "Public API" needed to use "Bitwarden Directory Connector" #3181
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#3181
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/2907
Author: @Kurnihil
Created: 11/10/2022
Status: ❌ Closed
Base:
main← Head:directory_connector📝 Commits (5)
04a8054Implemented the API key organization and public API needed to use "Bitwarden Directory Connector"2a0a9ebto_be_squashed, clippy and fmt changesc5b8257to_be_squashed, fix OrganizationApiKey db save callf37de9cto be squashedee2cd0dfixed groups permissions📊 Changes
26 files changed (+597 additions, -27 deletions)
View changed files
➕
migrations/mysql/2022-07-21-200424_create_organization_api_key/down.sql(+0 -0)➕
migrations/mysql/2022-07-21-200424_create_organization_api_key/up.sql(+8 -0)➕
migrations/mysql/2022-11-08-234911_add_external_id/down.sql(+0 -0)➕
migrations/mysql/2022-11-08-234911_add_external_id/up.sql(+2 -0)➕
migrations/postgresql/2022-07-21-200424_create_organization_api_key/down.sql(+0 -0)➕
migrations/postgresql/2022-07-21-200424_create_organization_api_key/up.sql(+8 -0)➕
migrations/postgresql/2022-11-08-234911_add_external_id/down.sql(+0 -0)➕
migrations/postgresql/2022-11-08-234911_add_external_id/up.sql(+2 -0)➕
migrations/sqlite/2022-07-21-200424_create_organization_api_key/down.sql(+0 -0)➕
migrations/sqlite/2022-07-21-200424_create_organization_api_key/up.sql(+9 -0)➕
migrations/sqlite/2022-11-08-234911_add_external_id/down.sql(+0 -0)➕
migrations/sqlite/2022-11-08-234911_add_external_id/up.sql(+2 -0)📝
src/api/core/mod.rs(+2 -0)📝
src/api/core/organizations.rs(+59 -3)➕
src/api/core/public.rs(+231 -0)📝
src/api/identity.rs(+45 -10)📝
src/auth.rs(+35 -0)📝
src/db/models/collection.rs(+44 -4)📝
src/db/models/group.rs(+10 -5)📝
src/db/models/mod.rs(+1 -1)...and 6 more files
📄 Description
Hello,
I've started with the org-api-key branch of @BlackDex https://github.com/BlackDex/vaultwarden/tree/org-api-key
And added what was needed to use the "Bitwarden Directory Connector".
That means only the /public/organization/import route
I'm willing to continue with the implementation of the public API,
but before doing that I would like that somebody else looks at the code.
I've tested it locally but for sure some more testing is needed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.