DEV Community

Discussion on: Using Postman with Java Spring and CSRF Tokens

Collapse
 
chxei profile image
daviti

I'm not getting XSRF-TOKEN cookie from spring security. So postman variable is undefined. How can I fix this?

Collapse
 
shane profile image
Shane McGowan

If it isn't being returned by Spring then perhaps you don't actually have it enabled? Or it could be a CORS issue you need to resolve first