PeculiarTrader Posted December 14, 2022 Share Posted December 14, 2022 A year later and I still can't manage to set it up. Is it even worth it or possible? If it is can someone send pseudocode of how I would set up an oauth client with raw http requests no external libraries. The main reason why I'm asking this is because some of the api endpoints (such as /IGetCurrencies/v1) in the swagger ui page just plain don't work using every authentication method I can think of. Whatever I do they always return "This API key is not valid. Please visit https://backpack.tf/developer for more information.". Even some of the oauth grant endpoints, like https://backpack.tf/oauth/authorize don't work for me, they for some reason constantly redirect me to the steam login page. Link to comment Share on other sites More sharing options...
Zeus_Junior Posted December 14, 2022 Share Posted December 14, 2022 There are api keys which use ‘key’ as param and there are user tokens which use ‘token’ as param. You sure you’re not mistaking them? I don’t know anyone that uses oauth because they barely work. I know @poespas did something with it in the past but eh Link to comment Share on other sites More sharing options...
PeculiarTrader Posted December 14, 2022 Author Share Posted December 14, 2022 4 minutes ago, Zeus_Junior said: There are api keys which use ‘key’ as param and there are user tokens which use ‘token’ as param. You sure you’re not mistaking them? I don’t know anyone that uses oauth because they barely work. I know @poespas did something with it in the past but eh Oh I haven't tried using "key" as a param name, I've only been doing token or the Authorization header when I tried to get oauth to work. Can't really try anything for the next 3 hours though Link to comment Share on other sites More sharing options...
PeculiarTrader Posted December 14, 2022 Author Share Posted December 14, 2022 Yep just checked, using "key" works Link to comment Share on other sites More sharing options...
Batya Posted March 28 Share Posted March 28 this is so stupid, they don't explain it on their main page, you have to face this problem first, then you have too google it and pray that you will get on this thread. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now