fix: Use //identity.* endpoint similarly to their desktop app #643

This commit is contained in:
Artem Chepurnoy 2024-10-17 15:06:30 +03:00
parent 3be50a1891
commit 05b1bc5ae0
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ fun ServerEnv.buildIdentityUrl() = buildUrl(
url = identityUrl, url = identityUrl,
suffix = "identity/", suffix = "identity/",
default = when (region) { default = when (region) {
ServerEnv.Region.US -> "https://vault.$BITWARDEN_DOMAIN_US/identity/" ServerEnv.Region.US -> "https://identity.$BITWARDEN_DOMAIN_US/"
ServerEnv.Region.EU -> "https://vault.$BITWARDEN_DOMAIN_EU/identity/" ServerEnv.Region.EU -> "https://identity.$BITWARDEN_DOMAIN_EU/"
}, },
) )