LarascordContact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Introduction
  • Version Compatibility
  • Installation
  • Getting Started
    • Discord
    • Laravel
  • Configuration
  • Larascord Events
  • Routes
    • Invalid OAuth2 redirect URL
    • cURL error 60: SSL certificate problem: unable to get local issuer certificate
    • The Authorization Code is Invalid
  • API
  • InteractsWithDiscord Trait
  • Introduction
  • Version Compatibility
  • Installation
  • Getting Started
    • Discord
    • Laravel
  • Configuration
  • Larascord Events
  • Routes
    • Invalid OAuth2 redirect URL
    • cURL error 60: SSL certificate problem: unable to get local issuer certificate
    • The Authorization Code is Invalid
  • API
  • InteractsWithDiscord Trait
  • Contact ↗ (opens in a new tab)

On This Page

  • Create a new Discord application
  • Create a OAuth2 redirect URL
Question? Give us feedback → (opens in a new tab)Edit this page
Getting Started
Discord

This step can be skipped if you already have a Discord application.

Create a new Discord application

  • Go to the Discord Developer Portal (opens in a new tab) and press the New Application button.
  • Choose a name for your application and click on Create.

Create a OAuth2 redirect URL

  • Go to the OAuth2 tab of your application and press the Add Redirect button.

The redirect URL should be your application's callback URL. Here is an example:

  • http://localhost:8000/larascord/callback (opens in a new tab)
  • https://myapplication.com/larascord/callback (opens in a new tab)
  • Press the Save Changes button.
Getting StartedLaravel

Larascord © 2023 by Jakye