Login with Discord

Hey everyone,

A client of mine would like to implement a login with Discord feature on their site. Ideally this would redirect the user to a “log in” page on Discord. Then when the user has logged in, a function would execute, but if the user didn’t login on Discord, an error message occurs.

Do you think something like that would be possible?

Thanks,
Alex

Yes that’s call SSO login.

You’ll find all info here: https://discord.com/developers/docs/topics/oauth2