I made Discord oAuth work with Unity

preview_player
Показать описание
NodeJS, Express, Discord, Unity, wow, many technologies.
We put all of it together to create a oAuth flow with our game, to allow our users to have a game account associated with their discord account. crazy stuff, stay tuned.

Ca va bien aller.

►♟️ Learn how to make a Online Multiplayer Chess Game (on Youtube!)

► ⚔️ FREE Top Down RPG Course (on Youtube!):

► Develop a FULL Mobile Game with the help of my Udemy Course :

► Want to help the EpitomeGames project? You can show your support with an membership!

► Planning to buy from the asset store? use my link!

► Want the files? You can find everything on the website!
► Need help? Join our discord community!

Personal channel 🇨🇦

Social Media 🤳

#multiplayer #gameDev #unity #unityTutorial #n3k #epitome
Рекомендации по теме
Комментарии
Автор

It feels so good when we make some thing on our own and see the result, we kinda get proud of our self, this is the nice part of programing,

cuttlas
Автор

i randomly found your channal :D
Great to see you are alive and making videos, Subbed :D
old subscriber from your N3K :D

StigDesign
Автор

Why don't you make a c# course for unity? It would be great.

poornimachaubey
Автор

can you provide this solution please !

zwita
Автор

Technically SocketOPCode wasnt a byte yet was it? Becomes an int when unspecified. Would have needed to say public enum SocketOPCode : Byte { stuff1, stuff2, etc}

RickMcMichael
Автор

Your website has a self-signed certificate, so most modern browsers refuse to connect to it, with no easy way around for the normal user. Might want to fix that.

LemuriaGames
Автор

How come you didn't use the official Discord SDK for Unity?

Xblade-Dev
Автор

This is really good, great work Michael!👏 Is there any third party tool I can use to do something like this? I would like like to implement it but I don’t have this level of programming skills. My boss is asking me to send emails from an app but so far I’ve only seen tutorials that directly code the login information using for example Gmail, most people would feel more comfortable with a flow like the one in the video

danielcorzo
Автор

Bro, Can you also make a video on how can we implement IP based authentication like we get an email with a link to approve or deny, and if we click on approve then we are logged in? Im very curious to know how will this work

tanmaysinghal
Автор

Hey, really good video! I am trying to achieve the same thing with Twitch! I managed get the oAuth sign in. I have node js backend but how do you identify which callback uri goes with which Webscket? If user A connects at the same time as user B, how do you know who callback who ?

TheRolfFR
Автор

Which version of Unity are you using? Any recent Unity version implements a custom SynchronizationContext, which supports async/await and "returns" to the Main thread. It's a bit long to explain all of this in a comment but basically it means you can use tasks IMPORTANT if you await them and you don't need your custom dispatcher anymore, without dealing with the threading issues you showed in your videos. The issues you had was because you used a "classic" Thread in combination with task / await, which is not needed in this case, so you could have avoided all these threading issues if you did it "properly", don't take this as an insult, it's just a hint for your future projects. You can contact me on discord if you have any specific questions about this topic, maybe I can explain it in more details there.

rpfake
Автор

Any progress on your online multiplayer series ? :D

StarCoreSE
Автор

Wait, why is it in french, t'es français ? :o

Jerdz