1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01:00

Update sso prevalidate path (#7479)

* Update sso prevalidate path

* fixed formatting
This commit is contained in:
Ike 2024-01-08 11:24:45 -08:00 committed by GitHub
parent 0fba5810d9
commit 6f22f05eee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1619,7 +1619,7 @@ export class ApiService implements ApiServiceAbstraction {
headers.set("User-Agent", this.customUserAgent); headers.set("User-Agent", this.customUserAgent);
} }
const path = `/account/prevalidate?domainHint=${encodeURIComponent(identifier)}`; const path = `/sso/prevalidate?domainHint=${encodeURIComponent(identifier)}`;
const response = await this.fetch( const response = await this.fetch(
new Request(this.environmentService.getIdentityUrl() + path, { new Request(this.environmentService.getIdentityUrl() + path, {
cache: "no-store", cache: "no-store",