loicteixeira / gj-unity-api

[MOVED] Game Jolt API wrapper for Unity.
https://github.com/InfectedBytes/gj-unity-api/
MIT License
16 stars 13 forks source link

Use HTTPS for API calls #76

Closed loicteixeira closed 7 years ago

loicteixeira commented 7 years ago

Game Jolt will switch its entire website to HTTPS on August 18th 2017. While this shouldn't cause much problem regarding the API (desktop builds will be unaffected, WebGL builds api calls will be upgraded to HTTPS automatically and Unity WebPlayer build api calls cannot be upgraded but the plugin is deprecated anyway), it's a good idea to have the API use HTTPS directly. Relevant discussions linked below.

Email from Game Jolt:

We'll be switching the entire gamejolt.com site over to HTTPS on August 18, 2017. What you need to do before August 18th

If you have games that run in the browser (HTML, Flash, Unity, etc.) on the site, check that your game works on HTTPS.

Enter your game's url and make sure it starts with HTTPS instead of HTTP.

Example: https://gamejolt.com/games/moonrunner/24502

***If you have external web requests in your game (such as for external assets, API calls, etc.) that aren't using HTTPS they will stop working. How to disable HTTPS support

If your games don't work on HTTPS you can degrade your package to HTTP by editing your build and disabling HTTPS support. Note, however, that it's highly recommended to get your game working on HTTPS! Otherwise, we need to pop it out in a new browser window when the user clicks to play it in order for it to continue working on the site. This results in a worse user experience.

From your Dashboard, click to manage your game. Select packages from the left menu and choose your package to edit your release and disable HTTPS support.

Double check and make sure your games work on HTTPS, otherwise they'll appear broken. Why we're switching to HTTPS

We are making this change to firstly increase security, but also because Google now uses HTTPS to rank sites in their search listings, and so we can do cooler things like progressive web apps and faster loading with http/2.

Twitter thread

Me: Does the HTTPS update also applies to the API? Cros: Downloadables will be fine. You should update the library to hit https, though. Also, we are able to upgrade webgl api calls to https on the site, but we can't do it for unity3d games so those will break.