Question

SDK: serverUrl + XSRF-TOKEN

  • 11 January 2024
  • 0 replies
  • 198 views

Hello!

 

I encountered a problem: when trying to specify the `serverUrl` option, I cannot pass the `XSRF-TOKEN` check on the backend.

In the rest of the project, this token is automatically set via Axios. For Amplitude, I couldn't find a way to use `amplitude.track()` via Axios or manually specify my custom cookies/tokens in `amplitude.track()` request.

 

What to do in this case? Access to the backend is not available.


0 replies

Be the first to reply!

Reply