-
Notifications
You must be signed in to change notification settings - Fork 35
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
Access Token support? #17
Comments
It does not currently support that. I have not used the API with OAuth, and don't know what it takes to implement it. I will be happy to accept a PR for it. It might be as easy as changing the constructor to accept an optional DC argument, as this is currently parsed from the api key. |
I added a issue for browser side support, and closing the related tasks |
Reopened, as relevant server side |
See: https://developer.mailchimp.com/documentation/mailchimp/guides/how-to-use-oauth2/
If you
And concatenate the accessToken and the datacenter, |
…_key or access_token to support basic HTTP Authentication or OAuth implementation as per Issue thorning#17. .request will now adjust the request made using whatever type of authentication is supplied in the constructor.
Does this API wrapper support using access tokens via OAuth for the api_key? I keep getting missing or invalid api key error when I attempt to.
The text was updated successfully, but these errors were encountered: