deStrO / eBot-CSGO-Web

The eBot CS:GO panel
http://www.esport-tools.net/ebot
95 stars 71 forks source link

[Toornament] fixed request to oauth2 toornament #89

Closed pokap closed 7 years ago

pokap commented 7 years ago

Today we call the toornament oauth2 api with HTTP GET, it has never been supported. https://developer.toornament.com/doc/oauth2#post:oauthv2token

OAuth2 needs POST with data submited like web form.

So this PR respect RFC (https://tools.ietf.org/html/rfc6749), and its better for security.

deStrO commented 7 years ago

Thanks for the update! :)