Try fix oauth (#4848)

This commit is contained in:
Denis Bykhov
2024-03-01 18:33:13 +07:00
committed by GitHub
parent 94f1b86957
commit ec9e63b1a2
+4 -1
View File
@@ -862,7 +862,10 @@ export async function getSessionLoginInfo (): Promise<LoginInfo | WorkspaceLogin
}
try {
const response = await fetch(concatLink(accountsUrl, '/auth'))
const response = await fetch(concatLink(accountsUrl, '/auth'), {
method: 'GET',
credentials: 'include'
})
const result = await response.json()
return result
} catch (err: any) {