Skip to content

AJAX call "Antiforgery token not present" #16590

Closed Answered by xorinzor
xorinzor asked this question in Q&A
Discussion options

You must be logged in to vote

Chrome was blocking the cookie.

I had to add this to my WebModule:

Configure<AbpAntiForgeryOptions>(options => {
    options.TokenCookie.SameSite = SameSiteMode.Strict;
});

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@xorinzor
Comment options

@realLiangshiwei
Comment options

@xorinzor
Comment options

@xorinzor
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by xorinzor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants