Skip to content

Discord

Integrate Discord with Sngine in a few easy steps to let your users log in with their Discord accounts.

  1. Go to https://discord.com/developers/applications and sign in with your Discord account. Click New Application

    Go to https://discord.com/developers/applications and sign in with your Discord account. Click New Application

  2. Give your application a name and click Create. Then go to OAuth2 in the left sidebar and copy the Client ID and Client Secret

    Give your application a name and click Create. Then go to OAuth2 in the left sidebar and copy the Client ID and Client Secret

  3. Scroll down to the Redirects section and click Add Another. Enter the callback URL for your Sngine installation:

    If you installed Sngine in your domain directly like domain.com the URI should be like this:
    https://www.domain.com/connect/discord

    If you installed Sngine without www like domain.com the URI should be like this:
    https://domain.com/connect/discord

    If you installed Sngine in sub-domain like sub.domain.com the URI should be like this:
    https://sub.domain.com/connect/discord

    If you installed Sngine in a directory like domain.com/directory the URI should be like this:
    https://www.domain.com/directory/connect/discord

    Click Save Changes

    Click Save Changes

  4. Go to Sngine Admin Panel → Settings → Registration Settings → Social Login and paste both Discord Application ID and Discord Application Secret then save

    Go to Sngine Admin Panel → Settings → Registration Settings → Social Login and paste both Discord Application ID and Discord…