sparse-fish-95070
06/14/2022, 4:02 PMconst initializeFlow = (sessionToken: string) =>
newKratosSdk(project)
.initializeSelfServiceSettingsFlowWithoutBrowser(sessionToken)
.then(({ data: flow }) => {
setFlow(flow)
})
.catch(console.error)
the x-session-token gets handed over as [object Object] event though it looks OK logging it just before. I've seen some serialization bugs with openapi-generator on other projects, has anyone seen this behaviour before/knows how to fix it?
Network request failed but this is ok Object {
"config": Object {
"adapter": [Function xhrAdapter],
"data": "\"n644TB2aTVwLblvDIXqiCiDLzxGCcJvz\"",
"env": Object {
"FormData": null,
},
"headers": Object {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json",
"X-Session-Token": "[object Object]",
},