This is a nakama module that uses custom authentication to authenticate a user via itch.io.
- Create an itch app manifest for your game
- Run your game from the itch.io app
- Extract the API token from the
ITCHIO_API_KEY
environment variable - Pass the API token as the ID to
authenticate_custom
Godot example:
var token := OS.get_environment("ITCHIO_API_KEY")
var session: NakamaSession = yield(client.authenticate_custom_async(token), "completed")
build.sh && docker-compose up