Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Conversation

moroshko
Copy link
Contributor

@petebacondarwin
Copy link
Contributor

@moroshko - hi, the real problem here is that you are trying to use the $cookieStore for the wrong purpose. The $cookieStore is an abstraction on top of $cookie, which works with objects and serializes them to JSON.
If you want to assign the XSRF token then just use $cookie to write it, which works directly with strings.

@wolfgangmeyers
Copy link

Angular should be able to strip the double quotes when it receives the XSRF-TOKEN cookie.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants