You need to sign in to do that
Don't have an account?
solid jetech
Salesforce Oauth Obtaining Access token error
i get an error while trying to obtain the access token im using golang to develop this oauth process but anyhow once the acess token is requested it gives an error back saying error got 400 {"error":"unsupported_grant_type","error_description":"grant type not supported"}
this is my url to obtain the token https://login.salesforce.com/services/oauth2/token
below image shows the paramters that are being sent
am i missing something in here ? please do help me in any means mostly it would suit if you could solve it using golang
thanks
this is my url to obtain the token https://login.salesforce.com/services/oauth2/token
below image shows the paramters that are being sent
am i missing something in here ? please do help me in any means mostly it would suit if you could solve it using golang
thanks
logontokartik
From what I see I think you are using Web Server flow. What are you doing with the code after you get it back? Can you try the Username-Password flow with grant_type=password and see if its working?
Hanimi Reddy
grant_type=password&username=[YOUR USERNAME]&password=[YOUR PWD]#&client_id=[CONNECTED APP CLIENT ID]&client_secret=[CONNECTED APP CLIENT SECRET]