javascript - Superagent Pass CSRF token on Redirect -


i have application which, retrieve data, makes request authorization route, adds jwt cookie , csrf header, before returning redirect actual url data stored.

while both jwt , csrf header passed redirect response, jwt passed along new url required, the csrf header not.

how can ensure csrf passed redirected url?

this code have in request:

.get('/auth')   .accept('application/json')   .query(query)   .withcredentials()   .end((err, response) => {     // final response   } 


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

three.js - how to load gltf in three JS -

sql server - T-SQL: Access DB objects in same schema without qualifying? -