Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A quick example how to do Twitch OAuth using a temp. local "webserver" directly in a Unity project.

NotificationsYou must be signed in to change notification settings

TheHellcat/Unity-Twitch-OAuth-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation


A quick example of how to do Twitch OAuth using a local "webserver" to receive the redirect back from the Twicth authentication flow, completely in Unity, without any backends or other external tools.

How to Run This Example

To do Twitch side

  • If you haven't done so already, head tohttps://dev.twitch.tv/ and create an application in your developer console
  • Go to the details of your application and note your client-ID and the client-secret

To do Unity side

  • Open the project in Unity
  • In Unity, open the sceneScenes/SampleScene
  • Click on theTwitchAuth gameobject in the hierarchy of the scene
  • Set the valuesTwitch Clien ID andTwitch Client Secret to the ones you noted above on the Twitch side
  • HitPLAY
  • Click theAuthenticate with Twitch button in the game scene.

I have questions

Feel free to hit me up on the Twitch-Developers discord, or my Tweeter:https://twitter.com/therealhellcat

About

A quick example how to do Twitch OAuth using a temp. local "webserver" directly in a Unity project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp