Hello,

Angular 2 sends no "XSRF-TOKEN" Header. 
In my case I use Nancy Server which is sending an "NCSRF" Token. I use 
"providers: [{ provide: XSRFStrategy, useValue: new 
CookieXSRFStrategy('NCSRF', 'NCSRF') }]" in my core module.
The NCSRF cookie is set by Nancy. But Angular 2 sends no token in header.
In my RequestOptions I set "withCredentials: true". That works with the JWT 
Token well. And the "NCFS" is also send as "cookie" on each request.

But I think there must be an Header in my server request with name "
X-XSRF-TOKEN" in default and in my case "NCSRF". I changed the header name 
for test. 
"X-XSRF-TOKEN" as header name doesn't work too.

I work with angular-cli Version ""1.0.0-beta.17". Angular Version "2.0.0".

Have anybody an idea?

-- 
You received this message because you are subscribed to the Google Groups 
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to