Closed josefinalliende closed 1 year ago
We want to add csfr token in the headers of the api client requests in potassium without using the @rails/ujs dependency.
The util csrf token was added and used in the api index file.
Commit by commit
The new util csrf-token and the adittion in the frontend recipe
csrf-token
We already tested that this change worked in : https://github.com/platanus/mok-salud/pull/88
Context
We want to add csfr token in the headers of the api client requests in potassium without using the @rails/ujs dependency.
What has been done
The util csrf token was added and used in the api index file.
Commit by commit
In particular you have to check
The new util
csrf-token
and the adittion in the frontend recipe Additional info (screenshots, links, sources, etc.)