Remove credentials: 'include', a mechanism that we don't actually use.

This commit is contained in:
2026-01-27 15:23:19 +00:00
parent 86966526c4
commit 3a8e7d1f4f
3 changed files with 5 additions and 6 deletions
+1 -2
View File
@@ -88,7 +88,7 @@ export async function getAuthIframeUrl(mode = 'login') {
}
// Fetch from forward endpoint - it returns URL in auth.iframe on 401/403
const response = await fetch('/auth/api/forward', { credentials: 'include' })
const response = await fetch('/auth/api/forward')
if (response.status === 401 || response.status === 403) {
const data = await response.json()
if (data.auth?.iframe) {
@@ -321,7 +321,6 @@ export async function apiJson(url, options = {}) {
*/
export async function fetchJson(url, options = {}) {
const fetchOptions = {
credentials: 'include',
...options,
headers: {
'Accept': 'application/json',