LarascordContact ↗Contact ↗ (opens in a new tab)
GitHubGitHub (opens in a new tab)
  • Introduction
  • Version Compatibility
    • Upgrading from v7 to v8
    • Upgrading from v6 to v7
    • Upgrading from v5 to v6
    • Upgrading from v4 to v5
  • Installation
  • Getting Started
    • Discord
    • Laravel
  • Configuration
  • Larascord Events
  • Routes
  • Guild and Role Middleware
    • Invalid OAuth2 redirect URL
    • cURL error 60: SSL certificate problem: unable to get local issuer certificate
    • The Authorization Code is Invalid
    • The Login Attempt Has Expired
    • There Is No Account Matching Your Discord Account
  • API
  • Larascord Facade
  • DiscordAccount Model
  • 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 certificateThe Login Attempt Has Expired

Larascord © 2023 by Jakye