This project is part of the Drupal Social Initiative and is based on the Social API.

Social Auth Discord allows users to register and login to your Drupal site with their Discord account. The module allows websites to request any scopes, so any tasks requiring authentication with Discord services can be performed. This module is based on Social Auth and Social API projects.

This module adds a path user/login/discord which redirects the user to Discord for authentication.

After Discord has returned the user to your site, the module compares the user id or email address provided by Discord. If the user has previously registered using Discord or your site already has an account with the same email address, the user is logged in. If not, a new user account is created. Also, a Discord account can be associated with an authenticated user.

Login process can be initiated from the "Discord" button in the Social Auth block. Alternatively, site builders can place (and theme) a link to user/login/discord wherever on the site.

Installation instructions

Social Auth Discord 8.x-2.x - Installation instructions

Supporting organizations: 
Google Code-In is an international competition that helps students aged 13-17 get started with Open Source contribution. This module was made by a Google Code-In student along with the mentorship of a Google Summer of Code student.

Project information

Releases