#Discord Login in Laravel
12 messages · Page 1 of 1 (latest)
So what exactly are you having issues with? There's plenty of guides on how to do oauth/socialite authentication, the gist of it is, one click to authenticate, user is redirected to Discord of w/e, they approve and then get back to your app where you receive user information (an ID, name, email etc). You'd then use that to create a user or sign in someone, how you deal with that is pretty much up to you. The socialite docs provide a basic example.
Just mainly setting it up, like how would I be able to? Since all the tutorials I've found on the internet just show them using their own application which you would have to install and sign up to their site, instead of just showing you how to actually do it
Eh..? I'd recommend to just use Socialite, there's even a Laracast thingy on it; https://laracasts.com/series/learn-socialite
Yea, I was looking into using it since its basically built in 🙂
but is there a specific tutorial for Discord or would I just have to learn it fully then make my own?
You'd learn how Socialite works, any oauth provider would work the same, be it Google, Github, Discord, LinkedIn etc
A Collection of Providers for Laravel Socialite
just follow this
ohh yea, I remember seeing them a while back, completely forgot 😅