Hi! I am hoping to update the React Native Self-Se...
# talk-kratos
s
Hi! I am hoping to update the React Native Self-Service UI (my fork) as it no longer runs on current version of Expo. I wouldn't mind creating a pull request against the repo, but during testing ran into an issue with the Settings workflow call
const 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]", },