LarascordContact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Introduction
  • Version Compatibility
  • Upgrading from v4 to v5
  • 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

On This Page

  • The Authorization Code is Invalid
Question? Give us feedback → (opens in a new tab)Edit this page
Possible Errors
The Authorization Code is Invalid

The Authorization Code is Invalid

This error usually occurs when the variable LARASCORD_CLIENT_SECRET in the .env file is invalid.

Note that LARASCORD_CLIENT_SECRET is not the access token. This secret can be found in the OAuth2 tab of the application.

cURL error 60: SSL certificate problem: unable to get local issuer certificateInteractsWithDiscord Trait

Larascord © 2023 by Jakye