Validation of "cookiePath" was unsuccessful

In Laravel 9, I get the following error when I do a composer install.
I don’t know how to solve this problem.
Please help.

$ composer install
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   Auth0\SDK\Exception\ConfigurationException 

  Validation of "cookiePath" was unsuccessful

  at vendor/auth0/auth0-php/src/Exception/ConfigurationException.php:156
    152▕     public static function validationFailed(
    153▕         string $propertyName,
    154▕         ?\Throwable $previous = null
    155▕     ): self {
  ➜ 156▕         return new self(sprintf(self::MSG_VALIDATION_FAILED, $propertyName), 0, $previous);
    157▕     }
    158▕ 
    159▕     public static function invalidAlgorithm(
    160▕         ?\Throwable $previous = null

      +7 vendor frames 
  8   routes/web.php:52
      Illuminate\Support\Facades\Facade::__callStatic()

      +3 vendor frames 
  12  routes/web.php:90
      Illuminate\Routing\RouteRegistrar::group()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Hi @yoshida_seiichi

Welcome to the Auth0 Community! It’s great to have you on board :smiley:

Thanks for highlighting this issue, looks like our SDK team has seen this before, please review the fix here https://github.com/auth0/laravel-auth0/issues/330

Hopefully this will resolve the issue for you.

Warm regards.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.