mixpanel-node
mixpanel-node copied to clipboard
service account support
I'm looking to update my remote service workers to use a Mixpanel service account
https://developer.mixpanel.com/reference/authentication
it does not look like this library supports such yet; can that be added?
i.e. to send a username and password via HTTP Basic Auth
thank you
For purposes of normal event-tracking (i.e. via Mixpanel's /track API endpoint), the publishable Project Token is still the only auth method.
The /import endpoint does support service accounts now, and we'll look into getting that added to this SDK, but just know that it won't be sufficient for now if you're trying to call mixpanel.track().