mixpanel-node icon indicating copy to clipboard operation
mixpanel-node copied to clipboard

service account support

Open mfulton26 opened this issue 4 years ago • 2 comments

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

mfulton26 avatar Aug 03 '21 14:08 mfulton26

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().

tdumitrescu avatar Aug 03 '21 18:08 tdumitrescu