mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 03:22:19 +03:00
Try fix oauth (#4848)
This commit is contained in:
parent
94f1b86957
commit
ec9e63b1a2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user