FuelSDK-Python
FuelSDK-Python copied to clipboard
oauth2 support?
Hi there, doesn't look like it supports oauth 2, and in fact it's adding legacy=1 unnecessarily?
legacyString = "?legacy=1"
if legacyString not in self.auth_url:
self.auth_url = self.auth_url.strip()
self.auth_url = self.auth_url + legacyString
On top of that, it's not providing 'grant_type'
It'll be nice if you guys can provide an update to the SDK so we can use it as an abstract layer over the SOAP part of the API
Thanks!
for auth I"m seeing
payload = {'clientId' : self.client_id, 'clientSecret' : self.client_secret, 'refreshToken' : self.refreshKey, 'accessType': 'offline'}
there is no grant_type
so when'll we get support for v2?
line 201