Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

service account support #188

Open
mfulton26 opened this issue Aug 3, 2021 · 2 comments
Open

service account support #188

mfulton26 opened this issue Aug 3, 2021 · 2 comments
Assignees
Milestone

Comments

@mfulton26
Copy link

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

@tdumitrescu
Copy link
Member

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

@austinpray-mixpanel austinpray-mixpanel self-assigned this May 14, 2024
@austinpray-mixpanel
Copy link

austinpray-mixpanel commented May 14, 2024

Ran into this when trying to use /import api: https://developer.mixpanel.com/reference/import-events#authentication

/import requires an Owner or Admin Service Account. project_id, service account username and service account password are required to authenticate a request.

@austinpray-mixpanel austinpray-mixpanel added this to the v0.19.0 milestone May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants