Home Indie Game Create OAuth applications on itch.io

Create OAuth applications on itch.io

0
Create OAuth applications on itch.io

[ad_1]

Today we’re launching support for OAuth Applications. It will allow developers let players log in with their itch.io account inside of a game or program. OAuth provides a flow for your program to securely get an API key that represents another user on itch.io after they approve your application. You can make API calls on behalf of someone using your game or application. You can learn more about the itch.io API here.

If you’re ready to dive in, read the OAuth documentation, otherwise continue on for a brief summary.

Creating an application

To start using OAuth as a developer you’ll need to register an application. After filling out a few simple questions about what you’re building, your application is approved automatically. 

Head over to User Settings -> OAuth applications to create your first application.

As of today, our OAuth implementation only supports the Implicit Flow, if you need additional support then please reach out to us.

Authorizing an application

After creating your application, it’s as simple as sending any users to your special itch.io login URL. You can view this URL from your application’s page in your settings page. Someone logging can review the permissions that are being requests, and approve it to continue. The browser is redirected back to your application where you can access the new API key.

Using the API key

After the authorization step is complete you’ll have a scoped API key that can be used to communicate with the itch.io server-side API. The most useful API call you can make is to get information about the current user. You can use this to synchronize a user with your own backend.

Updates to server-side API

As part of this update we’ve updated the server-side API documentation with more information about the different API keys, along with a new endpoint. Over the coming months we’ll be releasing more API endpoints. If there’s something specific you’re looking for leave us a comment or send us an email.

Enjoy

Support this post

Did you like this post? Tell us

[ad_2]

Previous article Switch Online Is Expanding The N64 Library With Rare’s Jet Force Gemini
Next article Ludology: Ludology Episode 97 – Rules of Thumb
Hello there! My name is YoleeTeam, and I am thrilled to welcome you to AmazonianGames.com. As the premier destination for all things related to Amazon Games' universe, we are dedicated to providing you with the most exciting and immersive gaming experiences out there. From captivating visuals to exhilarating gameplay, our website is packed with comprehensive insights, updates, and reviews to keep you ahead of the game. Whether you're a seasoned gamer or new to the scene, I am here to guide you through this virtual frontier. If you have any questions or suggestions, feel free to reach out to me at john@yoleesolutions.com. Embark on your Amazon gaming journey today with AmazonianGames.com and let the adventure begin!