Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
/login/jwt-session
endpoint from a local session proxy built with express modeled after the Implement a Qlik Cloud session cookie proxy example:const resp = await fetch(`https://${tenantUri}/login/jwt-session`, {
method: 'POST',
headers: {
Authorization: `Bearer ${token}`,
},
})
{"errors":[{"title":"Unauthorized","code":"AUTH-1","status":"401"}],"traceId":"bfd31bd2cb66b875ef9a975bb1ca91bc"}
Hey @pperdigo , compare request headers from your code and Postman, maybe you are missing something. If it works from Postman, should work from your code as well.
Hi Alex! Thanks for the reply
If I remender correctly, the headers were matching. Another weird thing I noticed after making this post is that if I ran the code from another device, the error wouldn't happen.
And as it turns out, a few days later, the code started working again on my main workstation and hasn't returned, so I just chalked it up to some browser weirdness.