Replies: 1 comment 1 reply
|
I only found this discussion after building pretty much what you describe: #7419. It ended up with almost the same footprint as your list, the account endpoints, one The connector itself lives outside the codebase entirely (https://github.com/acul021/key-connector), worked out from the client protocol. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I know the history of #6949 and the security concerns around key-connector. I'd like to propose a another approach from what was in included in that PR - a minimal set of changes to VW that would allow it to work with a key-connector service implemented elsewhere. The goal being that there is only a small footprint in this codebase, locked down by default, to ensure there is minimal maintenance added to @dani-garcia and other maintainers.
I think the changes to vaultwarden would roughly required (based on a little spike I built):
config.rs
sso_key_connector_urlwhich would be the URL for the connector serviceschema.rs
new api/core/key_connector.rs
identity.rs
And probably a few other changes along the way, but overall it should be a small PR. The rest of the logic for the actual SSO key connector could be build from scratch based on those APIs and the protocol used by the BW clients.
Would a change like this be something that would be considered for the VW project -- given I know the overall feature has been panned by the maintainers, but would be valuable to many folks using VW, I'd love to find a way to make it happen.
Thanks for consideration - rgregg
All reactions