Solved
Generating CSRF Token from Backend
Hi Is there any way to generate csrf token from Java code through any API or by accessing /libs/granite/csrf/token.json
Thanks in advance
Hi Is there any way to generate csrf token from Java code through any API or by accessing /libs/granite/csrf/token.json
Thanks in advance
Any component that relies on the granite.jquery dependency will benefit from the CSRF Protection automatically otherwise as mentioned by Wasil you can use /libs/granite/csrf/token.json which will generate the token as {“token”:”ey….″}
Cheers.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.