OAuth (Open Authorization) is a protocol that lets users authorize one website (the consumer, like Spotify) to access their data on another website (the provider, like Facebook), without sharing their login credentials. It uses secure tokens instead of passwords to grant access, thereby ensuring users' privacy and security.
On WemX users can connect their accounts to various services to display on their profile or to get certain permissions on servers such as Discord.
At this moment, users can only link Discord, Github or Google to their account to be displayed on their profile. We will be introducing SSO logins shortly.
Go to Discord Developer Portal
Click on "New Application" and enter an Application Name and click save
Now open the newly made application, and go to the OAuth2 section like in the screenshot below
Add a new Redirect URL and enter the following url to redirect to https://example.com/oauth/discord/redirect
replace with your domain
Click Save and Copy your Client ID, to see your Client Secret, you must click on "Reset Secret"
Go to Admin Area -> Configuration -> OAuth
and paste in your details and enable Discord like in the screenshot below.
Save the file, and you're done.
https://example.com/oauth/github/redirect
as your redirect - Make sure to replace with your own domainAdmin Area -> Configuration -> OAuth
and paste in your details and enable Github like in the screenshot below.Save the file, and you're done.
https://example.com/oauth/google/redirect
as your redirect - Make sure to replace with your own domainAdmin Area -> Configuration -> OAuth
and paste in your details and enable Google like in the screenshot below.Save the file, and you're done.