adonisjs/transmit

Does not work with `csrf` enabled

Closed this issue · 4 comments

Package version

^0.2.3

Describe the bug

Once you enabled the shield.csrf protection, client is unable to subscribe to the server.

Reproduction repo

No response

could solve my issue: adonisjs/transmit-client#2

will try

Have you activated the enableXsrfCookie option in config/shield.ts?

could solve my issue: adonisjs/transmit-client#2

will try

works fine!

Have you activated the enableXsrfCookie option in config/shield.ts?

Yes, after reading the code source of tansmit-client and now, everything is ok!