Skip to content

Commit aeb77e8

Browse files
authored
Merge pull request #3319 from StoDevX/sis-include-credentials-in-olecard-auth
getBalances: Include credentials through CORS
2 parents c43e5a1 + 77121ee commit aeb77e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/lib/financials/balances.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export async function getBalances(): Promise<BalancesOrErrorType> {
2121
let loginResponse = await fetch(OLECARD_AUTH_URL, {
2222
method: 'POST',
2323
body: form,
24+
credentials: 'include',
2425
})
2526

2627
if (loginResponse.url.includes('message=')) {

0 commit comments

Comments
 (0)