-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Implement the Organization API Key support for the new Directory Connector v2022 #3568
Conversation
This is a WIP for adding organization token login support. It has basic token login and verification support, but that's about it. This branch is a refresh of the previous version, and will contain code from a PR based upon my previous branch.
Merging a PR from @Kurnihil into the already rebased branch. Made some small changes to make it work with newer changes. Some finetuning is probably still needed. Co-authored-by: Daniele Andrei <[email protected]> Co-authored-by: Kurnihil
Some cleanups and optimizations done on the code generated by @Kurnihil
77e26c4
to
a05187c
Compare
@BlackDex Does that mean we get to use official Directory Connector with all it's functions (ie disabling/deleting users) ? |
As mentioned, i do not have access to an AzureAD/Microsoft AD environment, so I'm not able to test disabled users, as that is not a feature which ldap supports the way it's implemented in the Directory Connector. But it does remove users from the org which are not in the ldap environment anymore. |
Then I guess I'll have to honor my pledge at the next release ;) |
Only the ones on our personal pages i guess. There is no project wide donation. |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vaultwarden/server](https://github.com/dani-garcia/vaultwarden) | stage | minor | `1.28.1-alpine` -> `1.29.0-alpine` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (vaultwarden/server)</summary> ### [`v1.29.0`](https://github.com/dani-garcia/vaultwarden/releases/tag/1.29.0) [Compare Source](https://github.com/dani-garcia/vaultwarden/compare/1.28.1...1.29.0) #### Major changes and New Features - WebSocket notifications now work via the default HTTP port. No need for `WEBSOCKET_ENABLED` and a separate port anymore. The proxy examples still need to be updated for this. Support for the old websockets port 3012 will remain for the time being. - Mobile Client push notification support, see [#​3304](https://github.com/dani-garcia/vaultwarden/issues/3304) thanks [@​GeekCornerGH](https://github.com/GeekCornerGH)! - Web-Vault updated to v2023.5.0 (v2023.5.1 does not add any improvements for us) - The latest Bitwarden Directory Connector can be used now ([v2022.11.0](https://github.com/bitwarden/directory-connector/releases/tag/v2022.11.0)) - [Storing passkeys](https://bitwarden.com/passwordless-passkeys) is supported, though the clients are not yet released. So, it might be we need to make some changes once they are released. See: [#​3593](https://github.com/dani-garcia/vaultwarden/issues/3593), thanks [@​GeekCornerGH](https://github.com/GeekCornerGH)! #### What's Changed - check if reset password policy is enabled by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3427](https://github.com/dani-garcia/vaultwarden/pull/3427) - WebSockets via Rocket's Upgrade connection by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3404](https://github.com/dani-garcia/vaultwarden/pull/3404) - Several config and admin interface fixes by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3436](https://github.com/dani-garcia/vaultwarden/pull/3436) - Fixed missing footer_text and a few inconsistencies in email templates by [@​kennymc-c](https://github.com/kennymc-c) in [https://github.com/dani-garcia/vaultwarden/pull/3439](https://github.com/dani-garcia/vaultwarden/pull/3439) - Small update to Rocket WebSockets by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3440](https://github.com/dani-garcia/vaultwarden/pull/3440) - inline static rsa keys by [@​vilgotf](https://github.com/vilgotf) in [https://github.com/dani-garcia/vaultwarden/pull/3475](https://github.com/dani-garcia/vaultwarden/pull/3475) - Update Rust and Crates by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3469](https://github.com/dani-garcia/vaultwarden/pull/3469) - Change `String` to `&str` for all Rocket functions and some other fixes by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3491](https://github.com/dani-garcia/vaultwarden/pull/3491) - Use Rocket `v0.5` branch to fix endpoints by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3502](https://github.com/dani-garcia/vaultwarden/pull/3502) - Use fully qualified image names in Dockerfile by [@​gitouche-sur-osm](https://github.com/gitouche-sur-osm) in [https://github.com/dani-garcia/vaultwarden/pull/3505](https://github.com/dani-garcia/vaultwarden/pull/3505) - policy data should be `null` not an empty object by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3513](https://github.com/dani-garcia/vaultwarden/pull/3513) - update web-vault to v2023.4.2 by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3522](https://github.com/dani-garcia/vaultwarden/pull/3522) - Sync global_domains.json (Pinterest) by [@​jjlin](https://github.com/jjlin) in [https://github.com/dani-garcia/vaultwarden/pull/3532](https://github.com/dani-garcia/vaultwarden/pull/3532) - Prevent 401 on main admin page by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3547](https://github.com/dani-garcia/vaultwarden/pull/3547) - Update crates and GH Workflow by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3548](https://github.com/dani-garcia/vaultwarden/pull/3548) - Fix collection change ws notifications by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3546](https://github.com/dani-garcia/vaultwarden/pull/3546) - Update Rust and Crates by [@​tessus](https://github.com/tessus) in [https://github.com/dani-garcia/vaultwarden/pull/3563](https://github.com/dani-garcia/vaultwarden/pull/3563) - feat: Implement Push Notifications sync by [@​GeekCornerGH](https://github.com/GeekCornerGH) in [https://github.com/dani-garcia/vaultwarden/pull/3304](https://github.com/dani-garcia/vaultwarden/pull/3304) - Implement the Organization API Key support for the new Directory Connector v2022 by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3568](https://github.com/dani-garcia/vaultwarden/pull/3568) - Add mobile push device filter to non-null push uuid by [@​quexten](https://github.com/quexten) in [https://github.com/dani-garcia/vaultwarden/pull/3578](https://github.com/dani-garcia/vaultwarden/pull/3578) - Update crates and workflow by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3603](https://github.com/dani-garcia/vaultwarden/pull/3603) - Add group import on invite by [@​farodin91](https://github.com/farodin91) in [https://github.com/dani-garcia/vaultwarden/pull/3606](https://github.com/dani-garcia/vaultwarden/pull/3606) - Fix send access regression by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3608](https://github.com/dani-garcia/vaultwarden/pull/3608) - feat: Support for storing passkeys in the vault by [@​GeekCornerGH](https://github.com/GeekCornerGH) in [https://github.com/dani-garcia/vaultwarden/pull/3593](https://github.com/dani-garcia/vaultwarden/pull/3593) - add user to collection during creation by [@​farodin91](https://github.com/farodin91) in [https://github.com/dani-garcia/vaultwarden/pull/3609](https://github.com/dani-garcia/vaultwarden/pull/3609) - Updated docker run command by [@​DenuxPlays](https://github.com/DenuxPlays) in [https://github.com/dani-garcia/vaultwarden/pull/3620](https://github.com/dani-garcia/vaultwarden/pull/3620) - Added-External_id for Collections by [@​fashberg](https://github.com/fashberg) in [https://github.com/dani-garcia/vaultwarden/pull/3623](https://github.com/dani-garcia/vaultwarden/pull/3623) - fix missing password check while manual reset password enrollment by [@​sirux88](https://github.com/sirux88) in [https://github.com/dani-garcia/vaultwarden/pull/3632](https://github.com/dani-garcia/vaultwarden/pull/3632) - Update crates and small clippy fix by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3649](https://github.com/dani-garcia/vaultwarden/pull/3649) - fix version when compiled at a specific commit by [@​tessus](https://github.com/tessus) in [https://github.com/dani-garcia/vaultwarden/pull/3651](https://github.com/dani-garcia/vaultwarden/pull/3651) - Fix org creation regresion by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3659](https://github.com/dani-garcia/vaultwarden/pull/3659) #### New Contributors - [@​kennymc-c](https://github.com/kennymc-c) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3439](https://github.com/dani-garcia/vaultwarden/pull/3439) - [@​vilgotf](https://github.com/vilgotf) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3475](https://github.com/dani-garcia/vaultwarden/pull/3475) - [@​gitouche-sur-osm](https://github.com/gitouche-sur-osm) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3505](https://github.com/dani-garcia/vaultwarden/pull/3505) - [@​quexten](https://github.com/quexten) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3578](https://github.com/dani-garcia/vaultwarden/pull/3578) - [@​DenuxPlays](https://github.com/DenuxPlays) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3620](https://github.com/dani-garcia/vaultwarden/pull/3620) - [@​fashberg](https://github.com/fashberg) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3623](https://github.com/dani-garcia/vaultwarden/pull/3623) **Full Changelog**: dani-garcia/vaultwarden@1.28.1...1.29.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/arthurgeek/vaultwarden-fly-template). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vaultwarden/server](https://github.com/dani-garcia/vaultwarden) | stage | minor | `1.28.1-alpine` -> `1.29.0-alpine` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (vaultwarden/server)</summary> ### [`v1.29.0`](https://github.com/dani-garcia/vaultwarden/releases/tag/1.29.0) [Compare Source](https://github.com/dani-garcia/vaultwarden/compare/1.28.1...1.29.0) #### Major changes and New Features - WebSocket notifications now work via the default HTTP port. No need for `WEBSOCKET_ENABLED` and a separate port anymore. The proxy examples still need to be updated for this. Support for the old websockets port 3012 will remain for the time being. - Mobile Client push notification support, see [#​3304](https://github.com/dani-garcia/vaultwarden/issues/3304) thanks [@​GeekCornerGH](https://github.com/GeekCornerGH)! - Web-Vault updated to v2023.5.0 (v2023.5.1 does not add any improvements for us) - The latest Bitwarden Directory Connector can be used now ([v2022.11.0](https://github.com/bitwarden/directory-connector/releases/tag/v2022.11.0)) - [Storing passkeys](https://bitwarden.com/passwordless-passkeys) is supported, though the clients are not yet released. So, it might be we need to make some changes once they are released. See: [#​3593](https://github.com/dani-garcia/vaultwarden/issues/3593), thanks [@​GeekCornerGH](https://github.com/GeekCornerGH)! #### What's Changed - check if reset password policy is enabled by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3427](https://github.com/dani-garcia/vaultwarden/pull/3427) - WebSockets via Rocket's Upgrade connection by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3404](https://github.com/dani-garcia/vaultwarden/pull/3404) - Several config and admin interface fixes by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3436](https://github.com/dani-garcia/vaultwarden/pull/3436) - Fixed missing footer_text and a few inconsistencies in email templates by [@​kennymc-c](https://github.com/kennymc-c) in [https://github.com/dani-garcia/vaultwarden/pull/3439](https://github.com/dani-garcia/vaultwarden/pull/3439) - Small update to Rocket WebSockets by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3440](https://github.com/dani-garcia/vaultwarden/pull/3440) - inline static rsa keys by [@​vilgotf](https://github.com/vilgotf) in [https://github.com/dani-garcia/vaultwarden/pull/3475](https://github.com/dani-garcia/vaultwarden/pull/3475) - Update Rust and Crates by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3469](https://github.com/dani-garcia/vaultwarden/pull/3469) - Change `String` to `&str` for all Rocket functions and some other fixes by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3491](https://github.com/dani-garcia/vaultwarden/pull/3491) - Use Rocket `v0.5` branch to fix endpoints by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3502](https://github.com/dani-garcia/vaultwarden/pull/3502) - Use fully qualified image names in Dockerfile by [@​gitouche-sur-osm](https://github.com/gitouche-sur-osm) in [https://github.com/dani-garcia/vaultwarden/pull/3505](https://github.com/dani-garcia/vaultwarden/pull/3505) - policy data should be `null` not an empty object by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3513](https://github.com/dani-garcia/vaultwarden/pull/3513) - update web-vault to v2023.4.2 by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3522](https://github.com/dani-garcia/vaultwarden/pull/3522) - Sync global_domains.json (Pinterest) by [@​jjlin](https://github.com/jjlin) in [https://github.com/dani-garcia/vaultwarden/pull/3532](https://github.com/dani-garcia/vaultwarden/pull/3532) - Prevent 401 on main admin page by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3547](https://github.com/dani-garcia/vaultwarden/pull/3547) - Update crates and GH Workflow by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3548](https://github.com/dani-garcia/vaultwarden/pull/3548) - Fix collection change ws notifications by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3546](https://github.com/dani-garcia/vaultwarden/pull/3546) - Update Rust and Crates by [@​tessus](https://github.com/tessus) in [https://github.com/dani-garcia/vaultwarden/pull/3563](https://github.com/dani-garcia/vaultwarden/pull/3563) - feat: Implement Push Notifications sync by [@​GeekCornerGH](https://github.com/GeekCornerGH) in [https://github.com/dani-garcia/vaultwarden/pull/3304](https://github.com/dani-garcia/vaultwarden/pull/3304) - Implement the Organization API Key support for the new Directory Connector v2022 by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3568](https://github.com/dani-garcia/vaultwarden/pull/3568) - Add mobile push device filter to non-null push uuid by [@​quexten](https://github.com/quexten) in [https://github.com/dani-garcia/vaultwarden/pull/3578](https://github.com/dani-garcia/vaultwarden/pull/3578) - Update crates and workflow by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3603](https://github.com/dani-garcia/vaultwarden/pull/3603) - Add group import on invite by [@​farodin91](https://github.com/farodin91) in [https://github.com/dani-garcia/vaultwarden/pull/3606](https://github.com/dani-garcia/vaultwarden/pull/3606) - Fix send access regression by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3608](https://github.com/dani-garcia/vaultwarden/pull/3608) - feat: Support for storing passkeys in the vault by [@​GeekCornerGH](https://github.com/GeekCornerGH) in [https://github.com/dani-garcia/vaultwarden/pull/3593](https://github.com/dani-garcia/vaultwarden/pull/3593) - add user to collection during creation by [@​farodin91](https://github.com/farodin91) in [https://github.com/dani-garcia/vaultwarden/pull/3609](https://github.com/dani-garcia/vaultwarden/pull/3609) - Updated docker run command by [@​DenuxPlays](https://github.com/DenuxPlays) in [https://github.com/dani-garcia/vaultwarden/pull/3620](https://github.com/dani-garcia/vaultwarden/pull/3620) - Added-External_id for Collections by [@​fashberg](https://github.com/fashberg) in [https://github.com/dani-garcia/vaultwarden/pull/3623](https://github.com/dani-garcia/vaultwarden/pull/3623) - fix missing password check while manual reset password enrollment by [@​sirux88](https://github.com/sirux88) in [https://github.com/dani-garcia/vaultwarden/pull/3632](https://github.com/dani-garcia/vaultwarden/pull/3632) - Update crates and small clippy fix by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3649](https://github.com/dani-garcia/vaultwarden/pull/3649) - fix version when compiled at a specific commit by [@​tessus](https://github.com/tessus) in [https://github.com/dani-garcia/vaultwarden/pull/3651](https://github.com/dani-garcia/vaultwarden/pull/3651) - Fix org creation regresion by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3659](https://github.com/dani-garcia/vaultwarden/pull/3659) #### New Contributors - [@​kennymc-c](https://github.com/kennymc-c) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3439](https://github.com/dani-garcia/vaultwarden/pull/3439) - [@​vilgotf](https://github.com/vilgotf) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3475](https://github.com/dani-garcia/vaultwarden/pull/3475) - [@​gitouche-sur-osm](https://github.com/gitouche-sur-osm) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3505](https://github.com/dani-garcia/vaultwarden/pull/3505) - [@​quexten](https://github.com/quexten) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3578](https://github.com/dani-garcia/vaultwarden/pull/3578) - [@​DenuxPlays](https://github.com/DenuxPlays) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3620](https://github.com/dani-garcia/vaultwarden/pull/3620) - [@​fashberg](https://github.com/fashberg) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3623](https://github.com/dani-garcia/vaultwarden/pull/3623) **Full Changelog**: dani-garcia/vaultwarden@1.28.1...1.29.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/arthurgeek/vaultwarden-fly-template). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vaultwarden/server](https://github.com/dani-garcia/vaultwarden) | stage | minor | `1.28.1-alpine` -> `1.29.0-alpine` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (vaultwarden/server)</summary> ### [`v1.29.0`](https://github.com/dani-garcia/vaultwarden/releases/tag/1.29.0) [Compare Source](https://github.com/dani-garcia/vaultwarden/compare/1.28.1...1.29.0) #### Major changes and New Features - WebSocket notifications now work via the default HTTP port. No need for `WEBSOCKET_ENABLED` and a separate port anymore. The proxy examples still need to be updated for this. Support for the old websockets port 3012 will remain for the time being. - Mobile Client push notification support, see [#​3304](https://github.com/dani-garcia/vaultwarden/issues/3304) thanks [@​GeekCornerGH](https://github.com/GeekCornerGH)! - Web-Vault updated to v2023.5.0 (v2023.5.1 does not add any improvements for us) - The latest Bitwarden Directory Connector can be used now ([v2022.11.0](https://github.com/bitwarden/directory-connector/releases/tag/v2022.11.0)) - [Storing passkeys](https://bitwarden.com/passwordless-passkeys) is supported, though the clients are not yet released. So, it might be we need to make some changes once they are released. See: [#​3593](https://github.com/dani-garcia/vaultwarden/issues/3593), thanks [@​GeekCornerGH](https://github.com/GeekCornerGH)! #### What's Changed - check if reset password policy is enabled by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3427](https://github.com/dani-garcia/vaultwarden/pull/3427) - WebSockets via Rocket's Upgrade connection by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3404](https://github.com/dani-garcia/vaultwarden/pull/3404) - Several config and admin interface fixes by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3436](https://github.com/dani-garcia/vaultwarden/pull/3436) - Fixed missing footer_text and a few inconsistencies in email templates by [@​kennymc-c](https://github.com/kennymc-c) in [https://github.com/dani-garcia/vaultwarden/pull/3439](https://github.com/dani-garcia/vaultwarden/pull/3439) - Small update to Rocket WebSockets by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3440](https://github.com/dani-garcia/vaultwarden/pull/3440) - inline static rsa keys by [@​vilgotf](https://github.com/vilgotf) in [https://github.com/dani-garcia/vaultwarden/pull/3475](https://github.com/dani-garcia/vaultwarden/pull/3475) - Update Rust and Crates by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3469](https://github.com/dani-garcia/vaultwarden/pull/3469) - Change `String` to `&str` for all Rocket functions and some other fixes by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3491](https://github.com/dani-garcia/vaultwarden/pull/3491) - Use Rocket `v0.5` branch to fix endpoints by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3502](https://github.com/dani-garcia/vaultwarden/pull/3502) - Use fully qualified image names in Dockerfile by [@​gitouche-sur-osm](https://github.com/gitouche-sur-osm) in [https://github.com/dani-garcia/vaultwarden/pull/3505](https://github.com/dani-garcia/vaultwarden/pull/3505) - policy data should be `null` not an empty object by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3513](https://github.com/dani-garcia/vaultwarden/pull/3513) - update web-vault to v2023.4.2 by [@​stefan0xC](https://github.com/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3522](https://github.com/dani-garcia/vaultwarden/pull/3522) - Sync global_domains.json (Pinterest) by [@​jjlin](https://github.com/jjlin) in [https://github.com/dani-garcia/vaultwarden/pull/3532](https://github.com/dani-garcia/vaultwarden/pull/3532) - Prevent 401 on main admin page by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3547](https://github.com/dani-garcia/vaultwarden/pull/3547) - Update crates and GH Workflow by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3548](https://github.com/dani-garcia/vaultwarden/pull/3548) - Fix collection change ws notifications by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3546](https://github.com/dani-garcia/vaultwarden/pull/3546) - Update Rust and Crates by [@​tessus](https://github.com/tessus) in [https://github.com/dani-garcia/vaultwarden/pull/3563](https://github.com/dani-garcia/vaultwarden/pull/3563) - feat: Implement Push Notifications sync by [@​GeekCornerGH](https://github.com/GeekCornerGH) in [https://github.com/dani-garcia/vaultwarden/pull/3304](https://github.com/dani-garcia/vaultwarden/pull/3304) - Implement the Organization API Key support for the new Directory Connector v2022 by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3568](https://github.com/dani-garcia/vaultwarden/pull/3568) - Add mobile push device filter to non-null push uuid by [@​quexten](https://github.com/quexten) in [https://github.com/dani-garcia/vaultwarden/pull/3578](https://github.com/dani-garcia/vaultwarden/pull/3578) - Update crates and workflow by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3603](https://github.com/dani-garcia/vaultwarden/pull/3603) - Add group import on invite by [@​farodin91](https://github.com/farodin91) in [https://github.com/dani-garcia/vaultwarden/pull/3606](https://github.com/dani-garcia/vaultwarden/pull/3606) - Fix send access regression by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3608](https://github.com/dani-garcia/vaultwarden/pull/3608) - feat: Support for storing passkeys in the vault by [@​GeekCornerGH](https://github.com/GeekCornerGH) in [https://github.com/dani-garcia/vaultwarden/pull/3593](https://github.com/dani-garcia/vaultwarden/pull/3593) - add user to collection during creation by [@​farodin91](https://github.com/farodin91) in [https://github.com/dani-garcia/vaultwarden/pull/3609](https://github.com/dani-garcia/vaultwarden/pull/3609) - Updated docker run command by [@​DenuxPlays](https://github.com/DenuxPlays) in [https://github.com/dani-garcia/vaultwarden/pull/3620](https://github.com/dani-garcia/vaultwarden/pull/3620) - Added-External_id for Collections by [@​fashberg](https://github.com/fashberg) in [https://github.com/dani-garcia/vaultwarden/pull/3623](https://github.com/dani-garcia/vaultwarden/pull/3623) - fix missing password check while manual reset password enrollment by [@​sirux88](https://github.com/sirux88) in [https://github.com/dani-garcia/vaultwarden/pull/3632](https://github.com/dani-garcia/vaultwarden/pull/3632) - Update crates and small clippy fix by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3649](https://github.com/dani-garcia/vaultwarden/pull/3649) - fix version when compiled at a specific commit by [@​tessus](https://github.com/tessus) in [https://github.com/dani-garcia/vaultwarden/pull/3651](https://github.com/dani-garcia/vaultwarden/pull/3651) - Fix org creation regresion by [@​BlackDex](https://github.com/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3659](https://github.com/dani-garcia/vaultwarden/pull/3659) #### New Contributors - [@​kennymc-c](https://github.com/kennymc-c) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3439](https://github.com/dani-garcia/vaultwarden/pull/3439) - [@​vilgotf](https://github.com/vilgotf) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3475](https://github.com/dani-garcia/vaultwarden/pull/3475) - [@​gitouche-sur-osm](https://github.com/gitouche-sur-osm) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3505](https://github.com/dani-garcia/vaultwarden/pull/3505) - [@​quexten](https://github.com/quexten) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3578](https://github.com/dani-garcia/vaultwarden/pull/3578) - [@​DenuxPlays](https://github.com/DenuxPlays) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3620](https://github.com/dani-garcia/vaultwarden/pull/3620) - [@​fashberg](https://github.com/fashberg) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3623](https://github.com/dani-garcia/vaultwarden/pull/3623) **Full Changelog**: dani-garcia/vaultwarden@1.28.1...1.29.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/arthurgeek/vaultwarden-fly-template). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
I previously started a branch to implement the API Key support for Organizations.
Later @Kurnihil used that branch to further implement this and created a PR #2907, which hasn't been touched for a while now.
I refreshed this by rebasing and merging and updateing the work already done by @Kurnihil and tested this using a very small set of users and groups via an OpenLDAP server. I do not have access to an Microsoft AD or Azure AD environment which I can use for testing, so that is not taken into account here.
Closes #2907
Co-authored-by: Daniele Andrei [email protected]
Co-authored-by: Kurnihil