Skip to content
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

Support Org Export for v2022.11 clients #2899

Merged
merged 1 commit into from Nov 9, 2022

Conversation

BlackDex
Copy link
Collaborator

@BlackDex BlackDex commented Nov 7, 2022

Since v2022.9.x the org export uses a different endpoint. But, since v2022.11.x this endpoint will return a different format. See: bitwarden/clients#3641 and bitwarden/server#2316

To support both version in the case of users having an older client either web-vault or cli this PR checks the version and responds using the correct format. If no version can be determined it will use the new format as a default.

Since v2022.9.x the org export uses a different endpoint.
But, since v2022.11.x this endpoint will return a different format.
See: bitwarden/clients#3641 and bitwarden/server#2316

To support both version in the case of users having an older client
either web-vault or cli this PR checks the version and responds using
the correct format. If no version can be determined it will use the new
format as a default.
@dani-garcia dani-garcia merged commit c9ec389 into dani-garcia:main Nov 9, 2022
@BlackDex BlackDex deleted the org-export-fixes branch November 10, 2022 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants