Centrally configure bitwarden client - data.json crashes client

I’m trying to set up bitwarden for centrally configured rollout.
So the article here explains that I need to create a data.json and place it in %appdata%\bitwarden on windows.
If I create a file like described

"environmentUrls": {
 		"base": "https://bitwarden.mydomain.com",
 		"api": null,
 		"identity": null,
 		"webVault": null,
 		"icons": null,
 		"notifications": null,
 		"events": null,
 		"enterprise": null
 	}

(the url has of course been set correctly)

And dump it in %appdata%\bitwarden, I get this message from our sponsors:

image

If I remove it, and let the bitwarden client create it, it starts up as it should.

What to do?

Ok, got it sorted, bad docs apparently, the file should instead look like this:

{
	"environmentUrls": {
		"base": "https://bitwarden.domain.com",
		"api": null,
		"identity": null,
		"webVault": null,
		"icons": null,
		"notifications": null,
		"events": null,
		"enterprise": null
	}
}

Then it works…

1 Like

Thanks @Kenneth_Fribert - PR is in to adjust this.