diff --git a/web/src/pages/password/index.js b/web/src/pages/password/index.js index df59d03a..98106a6f 100644 --- a/web/src/pages/password/index.js +++ b/web/src/pages/password/index.js @@ -20,7 +20,9 @@ function Password() { window.location.href = window.REACT_APP_KRATOS_PUBLIC_URL + '/self-service/settings/browser'; } - fetch(window.REACT_APP_KRATOS_PUBLIC_URL + '/self-service/settings/flows?id=' + obj['flow']) + fetch(window.REACT_APP_KRATOS_PUBLIC_URL + '/self-service/settings/flows?id=' + obj['flow'], { + credentials: 'include', + }) .then((res) => { if (res.status === 200) { return res.json();