Skip to content

Commit

Permalink
include credentials while settings flow request
Browse files Browse the repository at this point in the history
  • Loading branch information
shreeharsha-factly committed Nov 24, 2021
1 parent 764edef commit 154dd99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/src/pages/password/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 154dd99

Please sign in to comment.