piman Posted April 20, 2020 Share Posted April 20, 2020 When I was making a DELETE request to https://backpack.tf/api/1.0/classifieds/listings, I kept getting back an error message saying { "error": "access_denied", "message": "The resource owner or authorization server denied the request.", "hint": "Missing \"Authorization\" header" } What is this \"Authorization\" header ? When I looked at older forum posts, they all suggested Oauth was part of it. However, Oauth was deprecated and removed on March 31st, so what do I put? The page saying Oauth has been removed says to put a 'X-Auth-Token', but I still get a 401 when I set this header to be my user token. What do I do now? It's certiany possible, as bot.tf bots are doing it, but I can't seem to figure it out. Link to comment Share on other sites More sharing options...
Zeus_Junior Posted April 20, 2020 Share Posted April 20, 2020 Yeah OAuth was ”””deprecated”””. https://backpack.tf/api/classifieds/delete/v1 Send a DELETE request to this with your user token (https://backpack.tf/connections) and an array of listing_ids to remove Link to comment Share on other sites More sharing options...
piman Posted April 22, 2020 Author Share Posted April 22, 2020 On 4/20/2020 at 1:59 PM, Zeus_Junior said: Yeah OAuth was ”””deprecated”””. https://backpack.tf/api/classifieds/delete/v1 Send a DELETE request to this with your user token (https://backpack.tf/connections) and an array of listing_ids to remove Thanks! Link to comment Share on other sites More sharing options...
Alexass21 Posted May 2, 2020 Share Posted May 2, 2020 do you recommend just to use the User Token for requesting also how can i improve the security on just using the User Token only also why does backpack.tf still have aouth as an option for requesting info if they "deprecated" it Link to comment Share on other sites More sharing options...
Zeus_Junior Posted May 6, 2020 Share Posted May 6, 2020 On 5/2/2020 at 11:23 PM, Alexass21 said: why does backpack.tf still have aouth as an option for requesting info if they "deprecated" it Because we don’t have an active dev Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.