Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,7 @@ class LoginClient {
userIdentityTokenStorageManager.clear();
}

// this.enableCredentials must be false as long as the response from the Authress Token Service do not include access-control-allow-credentials: true in the response to errors
const authResponse = await this.httpClient.post('/authentication', false, {
const authResponse = await this.httpClient.post('/authentication', this.enableCredentials, {
antiAbuseHash,
redirectUrl: selectedRedirectUrl, codeChallengeMethod: 'S256', codeChallenge,
connectionId, tenantLookupIdentifier, inviteId,
Expand Down