GitHub user 17Shristi added a comment to the discussion: CSRF Session token is 
missing

const cookies = response.headers['set-cookie'];
On console.log cookies 
this is what I am getting:
1] [
[1]   'async-token=ey....; HttpOnly; Path=/',
[1]   'session=.e,......; Secure; HttpOnly; Path=/; SameSite=None'
[1] ]

sample async token and session key value pairs, I am passing the whole cookie 
to this guest_token post request like this:
 Cookie: `${cookies}`,
'X-CSRFToken': csrfToken,

@dosu

GitHub link: 
https://github.com/apache/superset/discussions/34738#discussioncomment-14143943

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to