Skip to main content

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

question about rules of OAuth and homepage url

A topic by ozn1911 created 5 days ago Views: 83 Replies: 3
Viewing posts 1 to 3


i was planning to make a multiplayer game but 

what are the rules about homepage url of oauth,

  • first of all, i dont have a domain
  • i was planning to callback to ip of game's server



i am curious about these:

  • can i write server ip there? making some kind of page?
  • can i write game's itch io page?
  • can i put localhost there?
  • can i write random things...

i dont know how homepage url is handled, and didnt see anything in documentation

i wanted to ask this so i wont get banned randomly

i mean... login with itch io would be cool...

(4 edits) (+1)

Your homepage URL can simply be your game’s Itch page. Itch’s documentation answers your other questions: https://itch.io/docs/api/oauth

While you can make your game server the callback URL, the server will have no way to attach/pair the access token to the client that requested it. Because of this, it is more proper & secure to set the callback to 127.0.0.1 (localhost/loopback) at some super high port that’s unlikely to be reserved. This means the client will have to temporarily host an HTTP server, too, with which it can extract the token, and then send it to the game server from its own address.

That being said, you don’t have to set this up during development. Separate the game logic from the authentication, then add logging in through Itch at a later stage. This will really ease things.

thanks for clarification