Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Itch's OAuth game:view:purchases scope seem to not work

A topic by BtheDestroyer created Oct 28, 2023 Views: 227
Viewing posts 1 to 1
(3 edits)

Attempting to load https://itch.io/user/oauth with the query parameter scope=profile%3Ame scope=profile%3Ame profile%3Agames (aka scope=profile:me profile:games) works properly, but scope=game%3Aview%3Apurchases (aka scope=game:view:purchases) results in a 404 page.

The API documentation states that scope is necessary to see what games a user has access to download: https://itch.io/docs/api/serverside#download_keys

On another note, the OAuth documentation doesn’t state that the query parameter response_type=token is required.

EDIT: I now see that the OAuth API reportedly “Only supports the profile:me” scope (which is incorrect, because it also supports profile:games). Apparently this has been the case since 2019.

Are there even any plans to expand OAuth to the documented scopes? If not, why are they listed under the Serverside API page?

I’d like my game to be able to check if the logged-in user has access to it and this seems like the least intrusive way of doing so.

EDIT2: Created a Github ticket: https://github.com/itchio/itch.io/issues/1498

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.