I need to have this `sessionHandle` and the rest i...
# support-questions-legacy
r
I need to have this
sessionHandle
and the rest in my headers so that my server knows that I am logged in on my app.
Copy code
const jwtToken = ((await getAccessTokenPayloadSecurely()) as Record<string, string>).jwt

    console.log('jwtToken', jwtToken)
    const result: DownloadFileResult = await Filesystem.downloadFile({
      url,
      path: fileName,
      directory: Directory.Documents,
      headers: {
        Authorization: `Bearer ${jwtToken}`,
      },
    })
But when I do this, in the jwtToken I only find the userData. How can I access the rest?
3 Views