Help With New API Login !!


#1

Hello,

I trying to play with the New API.

I can get the [code] when I click the login link (with [CLIENT ID] & [REDIRECT URI]) .

My problem is in the Next Call.

POST https://api.envato.com/token
grant_type=authorization_code&
code=[CODE]&
client_id=[CLIENT_ID]&
client_secret=[CLIENT_SECRET]

How to send this Call to get the tokens ?? any help will be appreciated :smile:


#2

Did you made it? I have that part fixed… Nisam i have issues with same user on two devices…


#3

Yes I had made it and didn’t get any problem.


#4

How did you get this working? I keep getting an error in the console that says “Bad Request: No authorization header passed”

Thanks.