I made Discord oAuth work with Unity

  Рет қаралды 8,405

Mercenary Camp

Mercenary Camp

Күн бұрын

Пікірлер: 26
@zwita4515
@zwita4515 Жыл бұрын
can you provide this solution please !
@cuttlas2955
@cuttlas2955 3 жыл бұрын
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 ,
@N3KMercenaryCamp
@N3KMercenaryCamp 3 жыл бұрын
It sure is, esp. things that you were not capable of doing in the past
@StigDesign
@StigDesign 3 жыл бұрын
i randomly found your channal :D Great to see you are alive and making videos, Subbed :D old subscriber from your N3K :D
@AnunayMintoo
@AnunayMintoo 3 жыл бұрын
Damn Nice dude
@N3KMercenaryCamp
@N3KMercenaryCamp 3 жыл бұрын
Thank you!
@RickMcMichael
@RickMcMichael Жыл бұрын
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}
@alfonsopayra
@alfonsopayra 2 жыл бұрын
files are not on your website
@musicnews5372
@musicnews5372 2 жыл бұрын
repo of code node.js please ?
@Xblade-Dev
@Xblade-Dev 2 жыл бұрын
How come you didn't use the official Discord SDK for Unity?
@LemuriaGames
@LemuriaGames Жыл бұрын
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.
@poornimachaubey3457
@poornimachaubey3457 3 жыл бұрын
Why don't you make a c# course for unity? It would be great.
@tanmaysinghal8370
@tanmaysinghal8370 3 жыл бұрын
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
@StarCoreSE
@StarCoreSE 3 жыл бұрын
Any progress on your online multiplayer series ? :D
@N3KMercenaryCamp
@N3KMercenaryCamp 3 жыл бұрын
Yep! Its going well, the next mini-series is about hosting, will be useful to host the many multiplayers project going on right now 😅
@TheRolfFR
@TheRolfFR 3 жыл бұрын
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 ?
@N3KMercenaryCamp
@N3KMercenaryCamp 3 жыл бұрын
I generate a random 32b bytes array from the client, use that as my key initially, I then generate a 'session token' on the backend that I send back to the client. The session token is also saved in the users account if he's connected, in case he needs to interact with the DB on his behalf later on
@danielcorzo7498
@danielcorzo7498 3 жыл бұрын
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
@N3KMercenaryCamp
@N3KMercenaryCamp 2 жыл бұрын
Hi Daniel, sorry for the late reply, there is no known solution for this yet, as it depends heavily on the stack you use to receive those messages (nodejs in my case) Maybe we can discuss this further on discord? n3rkmind#0001
@danielcorzo7498
@danielcorzo7498 2 жыл бұрын
@@N3KMercenaryCamp Hi again, I was able to implement part of this feature using send grid but as I would like to expand it further I was taking a look at AWS Cognito and Azure AD, do you know how to use these? Are you still on Discord?
@r1pfake521
@r1pfake521 3 жыл бұрын
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.
@N3KMercenaryCamp
@N3KMercenaryCamp 3 жыл бұрын
Hi R1pfake! Don't worry, I do not take it as insult, in fact I appreciate all the help you've brought me thus far! I might take you up on the offer when I'm done putting an SSL layer.
@Jerdz
@Jerdz 3 жыл бұрын
Wait, why is it in french, t'es français ? :o
@N3KMercenaryCamp
@N3KMercenaryCamp 3 жыл бұрын
Canadien ;)
@Jerdz
@Jerdz 3 жыл бұрын
@@N3KMercenaryCamp Québécois?
@N3KMercenaryCamp
@N3KMercenaryCamp 3 жыл бұрын
@@Jerdz Oui! Québécois!
Make a Dedicated Server for your Unity Game - [How To][Unity][Linux]
26:16
Why Did Discord’s Game Library Fail?
9:29
No Text To Speech
Рет қаралды 259 М.
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 15 МЛН
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 15 МЛН
Create Immersive Discord Activities with Unity and SvelteKit
9:59
The Sleepy Koala
Рет қаралды 6 М.
Making a Game With Discord's Bot API
10:39
PolyMars
Рет қаралды 2,6 МЛН
Build a working Login page with Unity, Node.js and Mongo - Backend 1/3
1:20:59
Complete Discord OAuth2 Guide!
17:17
MrJAwesome
Рет қаралды 45 М.
So you want to make a Game Engine!? (WATCH THIS before you start)
14:39
Giant Sloth Games
Рет қаралды 323 М.
Watch This Before Working on a Big Game in Unity
18:44
John Leorid
Рет қаралды 299 М.
Custom Rich Discord Presence without BetterDiscord
10:41
No Text To Speech
Рет қаралды 305 М.
Build a working Login page with Unity, Node.js and Mongo - Security 3/3
1:22:35