billions-leather-15882
06/06/2023, 7:58 AMfrontend
.listMySessions({
page: 1,
perPage: 10,
})
.then((res) => {
console.log(res)
})
.catch((err) => {
// Couldn't fetch active sessions
// This might occur if the current session has expired
})
I will get empty array.
But calling:
frontend.toSession().then(({data}) => { console.log(data)})
returns active object. (active = true, etc...)
Am I missing something obvious?
I think I am atm using Kratos created from github master branch.
SOLVED: it is listing other than your current sessionsbillions-leather-15882
06/06/2023, 7:59 AM