Classimax-Directory-Laravel-Vue icon indicating copy to clipboard operation
Classimax-Directory-Laravel-Vue copied to clipboard

Unauthenticated

Open DEVDASTUDIO opened this issue 5 years ago • 0 comments

After running this command " composer update " this code is not working anymore :(

api/v1/roles api/v1/rules

{"message":"Unauthenticated."}

Can you guys assist with this issue?

Composer output:

Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 12 installs, 83 updates, 4 removals
  - Removing doctrine/collections (v1.5.0)
  - Removing doctrine/annotations (v1.6.0)
  - Removing doctrine/common (v2.8.1)
  - Removing phpunit/phpunit-mock-objects (6.1.1)
  - Installing kylekatarnls/update-helper (1.2.0): Loading from cache
  - Updating symfony/thanks (v1.0.7 => v1.2.5): Loading from cache
  - Updating zendframework/zend-diactoros (1.7.1 => 1.8.7): Loading from cache
  - Updating symfony/polyfill-mbstring (v1.8.0 => v1.14.0): Loading from cache
  - Updating symfony/polyfill-php72 (v1.8.0 => v1.14.0): Loading from cache
  - Installing symfony/polyfill-intl-idn (v1.14.0): Loading from cache
  - Installing symfony/mime (v5.0.4): Loading from cache
  - Updating symfony/http-foundation (v4.0.10 => v4.4.4): Loading from cache
  - Updating paragonie/random_compat (v2.0.12 => v9.99.99): Loading from cache
  - Updating symfony/psr-http-message-bridge (v1.0.2 => v1.3.0): Loading from cache
  - Updating phpseclib/phpseclib (2.0.11 => 2.0.25): Loading from cache
  - Updating league/event (2.1.2 => 2.2.0): Loading from cache
  - Updating lcobucci/jwt (3.2.2 => 3.3.1): Loading from cache
  - Updating defuse/php-encryption (v2.2.0 => v2.2.1): Loading from cache
  - Updating league/oauth2-server (7.1.1 => 7.4.0): Loading from cache
  - Updating symfony/polyfill-ctype (v1.8.0 => v1.14.0): Loading from cache
  - Updating vlucas/phpdotenv (v2.4.0 => v2.6.1): Loading from cache
  - Updating symfony/css-selector (v4.0.10 => v5.0.4): Loading from cache
  - Updating tijsverkoyen/css-to-inline-styles (2.2.1 => 2.2.2): Loading from cache
  - Updating symfony/var-dumper (v4.0.10 => v4.4.4): Loading from cache
  - Updating symfony/routing (v4.0.10 => v4.4.4): Loading from cache
  - Updating symfony/process (v4.0.10 => v4.4.4): Loading from cache
  - Installing symfony/event-dispatcher-contracts (v1.1.7): Loading from cache
  - Updating symfony/event-dispatcher (v4.0.10 => v4.4.4): Loading from cache
  - Updating psr/log (1.0.2 => 1.1.2): Loading from cache
  - Updating symfony/debug (v4.0.10 => v4.4.4): Loading from cache
  - Installing symfony/polyfill-php73 (v1.14.0): Loading from cache
  - Installing symfony/error-handler (v4.4.4): Loading from cache
  - Updating symfony/http-kernel (v4.0.10 => v4.4.4): Loading from cache
  - Updating symfony/finder (v4.0.10 => v4.4.4): Loading from cache
  - Installing symfony/service-contracts (v2.0.1): Loading from cache
  - Updating symfony/console (v4.0.10 => v4.4.4): Loading from cache
  - Updating doctrine/lexer (v1.0.1 => 1.2.0): Loading from cache
  - Updating egulias/email-validator (2.1.4 => 2.1.17): Loading from cache
  - Installing symfony/polyfill-iconv (v1.14.0): Loading from cache
  - Updating swiftmailer/swiftmailer (v6.0.2 => v6.2.3): Loading from cache
  - Updating ramsey/uuid (3.7.3 => 3.9.3): Loading from cache
  - Installing symfony/translation-contracts (v2.0.1): Loading from cache
  - Updating symfony/translation (v4.0.10 => v4.4.4): Loading from cache
  - Updating nesbot/carbon (1.25.0 => 1.25.3): Loading from cache
  - Updating monolog/monolog (1.23.0 => 1.25.3): Loading from cache
  - Updating league/flysystem (1.0.45 => 1.0.64): Loading from cache
  - Updating erusev/parsedown (1.7.1 => 1.7.4): Loading from cache
  - Updating dragonmantank/cron-expression (v2.1.0 => v2.3.0): Loading from cache
  - Updating doctrine/inflector (v1.3.0 => 1.3.1): Loading from cache
  - Updating laravel/framework (v5.6.23 => v5.6.39): Loading from cache
  - Installing ralouphie/getallheaders (3.0.3): Loading from cache
  - Updating guzzlehttp/psr7 (1.4.2 => 1.6.1): Loading from cache
  - Updating guzzlehttp/guzzle (6.3.3 => 6.5.2): Loading from cache
  - Updating laravel/passport (v6.0.0 => v6.0.7): Loading from cache
  - Updating fideloper/proxy (4.0.0 => 4.3.0): Loading from cache
  - Updating nikic/php-parser (v4.0.1 => v4.3.0): Loading from cache
  - Updating jakub-onderka/php-console-color (0.1 => v0.2): Loading from cache
  - Updating jakub-onderka/php-console-highlighter (v0.3.2 => v0.4): Loading from cache
  - Removing dnoegel/php-xdg-base-dir (0.1)
  - Installing dnoegel/php-xdg-base-dir (v0.1.1): Loading from cache
  - Updating psy/psysh (v0.9.4 => v0.9.12): Loading from cache
  - Updating laravel/tinker (v1.0.7 => v1.0.10): Loading from cache
  - Updating laravelcollective/html (v5.6.8 => v5.6.10): Loading from cache
  - Updating spatie/temporary-directory (1.1.4 => 1.2.2): Loading from cache
  - Updating spatie/image-optimizer (1.0.14 => 1.2.1): Loading from cache
  - Updating intervention/image (2.4.1 => 2.5.1): Loading from cache
  - Updating league/glide (1.3.0 => 1.5.0): Loading from cache
  - Updating spatie/image (1.5.2 => 1.7.6): Loading from cache
  - Installing myclabs/php-enum (1.7.6): Loading from cache
  - Updating sebastian/diff (3.0.0 => 3.0.2): Loading from cache
  - Updating webmozart/assert (1.3.0 => 1.7.0): Loading from cache
  - Updating phpdocumentor/reflection-common (1.0.1 => 2.0.0): Loading from cache
  - Updating phpdocumentor/type-resolver (0.4.0 => 1.0.1): Loading from cache
  - Updating phpdocumentor/reflection-docblock (4.3.0 => 5.1.0): Loading from cache
  - Updating maennchen/zipstream-php (v0.5.2 => 1.2.0): Loading from cache
  - Updating spatie/laravel-medialibrary (7.3.8 => 7.18.0): Loading from cache
  - Installing doctrine/event-manager (1.1.0): Loading from cache
  - Updating doctrine/cache (v1.7.1 => 1.10.0): Loading from cache
  - Updating doctrine/dbal (v2.7.1 => v2.10.1): Loading from cache
  - Updating fzaninotto/faker (v1.7.1 => v1.9.1): Loading from cache
  - Updating mockery/mockery (1.1.0 => 1.3.1): Loading from cache
  - Updating filp/whoops (2.1.14 => 2.7.1): Loading from cache
  - Updating nunomaduro/collision (v2.0.2 => v2.1.1): Loading from cache
  - Updating sebastian/resource-operations (1.0.0 => 2.0.1): Loading from cache
  - Updating sebastian/exporter (3.1.0 => 3.1.2): Loading from cache
  - Updating sebastian/environment (3.1.0 => 4.2.3): Loading from cache
  - Updating sebastian/comparator (3.0.0 => 3.0.2): Loading from cache
  - Updating phpunit/php-timer (2.0.0 => 2.1.2): Loading from cache
  - Updating phpunit/php-file-iterator (1.4.5 => 2.0.2): Loading from cache
  - Updating theseer/tokenizer (1.1.0 => 1.1.3): Loading from cache
  - Updating phpunit/php-token-stream (3.0.0 => 3.1.1): Loading from cache
  - Updating phpunit/php-code-coverage (6.0.4 => 6.1.4): Loading from cache
  - Updating doctrine/instantiator (1.1.0 => 1.3.0): Loading from cache
  - Updating phpspec/prophecy (1.7.6 => v1.10.2): Loading from cache
  - Updating phar-io/version (1.0.1 => 2.0.1): Loading from cache
  - Updating phar-io/manifest (1.0.1 => 1.0.3): Loading from cache
  - Updating myclabs/deep-copy (1.7.0 => 1.9.5): Loading from cache
  - Updating phpunit/phpunit (7.1.5 => 7.5.20): Loading from cache
  - Updating facebook/webdriver (1.6.0 => 1.8.1): Loading from cache
  - Updating laravel/dusk (v3.0.8 => v3.0.10): Loading from cache
symfony/event-dispatcher-contracts suggests installing psr/event-dispatcher
symfony/service-contracts suggests installing symfony/service-implementation
Package zendframework/zend-diactoros is abandoned, you should avoid using it. Use laminas/laminas-diactoros instead.
Package facebook/webdriver is abandoned, you should avoid using it. Use php-webdriver/webdriver instead.
Writing lock file
Generating optimized autoload files
Carbon 1 is deprecated, see how to migrate to Carbon 2.
https://carbon.nesbot.com/docs/#api-carbon-2
    You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: laravel/dusk
Discovered Package: laravel/passport
Discovered Package: laravel/tinker
Discovered Package: laravelcollective/html
Discovered Package: nunomaduro/collision
Discovered Package: spatie/laravel-medialibrary
Package manifest generated successfully.

What about running composer thanks now?
This will spread some 💖  by sending a ★  to the GitHub repositories of your fellow package maintainers.

Request headers:

General

Request Method: GET
Status Code: 401 Unauthorized
Remote Address: 127.0.0.1:8000
Referrer Policy: no-referrer-when-downgradeaaa```

Response Headers:

Cache-Control: no-cache, private Connection: close Content-Type: application/json Date: Wed, 26 Feb 2020 14:10:20 GMT Date: Wed, 26 Feb 2020 14:10:20 GMT Host: 127.0.0.1:8000 X-Powered-By: PHP/7.3.9 X-RateLimit-Limit: 60 X-RateLimit-Remaining: 59```

Request Headers:

Accept-Encoding: gzip, deflate, br
Accept-Language: en,en-US;q=0.9
Connection: keep-alive
Cookie: n10app_session=eyJpdiI6InczN0Y5dTZlTDhsWDZ2ZDcxQ3NLQWc9PSIsInZhbHVlIjoibU80bXFrQVZhcThJT0pObUxhMmZCN0dCenRoNU9FQWhLeHRNVEpSVHZ2SXVUYVJZVU05QTcwTHhuY2tLUGdSZiIsIm1hYyI6ImZiZDU4MDZjYTJjZWMzNjZmYTY3ZTk1N2U5Njg3ZWFiNjk5MWFhMWNmOWRiNDA2MTNjYTA2MDhiZTEyMWUzMTkifQ%3D%3D; laravel_token=eyJpdiI6Im1VWGhoRnNreUUwVzFVZ2tISnRyeEE9PSIsInZhbHVlIjoiQndiZVhXVnJqYjdoNUNESXJxODU5SnE5SEwxbVUwVm8rYzAxVjdnVzNwZEtndTliak9JcXpVUkd3enJJQ2NKc28yS1RVdHFvTEZFcnF6dXh1cEZOOHlIUVUxMWxscno5WmZLRFVSSWx5ck5lUERMNFdvXC8wUHkrRXpJWlZwZVYrcmdXcDliYUxJQlBLTml1M2NzXC8wQ280b3FlemJkUW5JXC8zbVFLU2lnOGNZejJUQUZjYnk5bzk2SmExNm92NzlQcWlsdFJSc1ROTThaQktZeEEzNWRXOWU0TG5HNkdGckRBOXQ5bXRJbkdkSGpuZUNSVCtDMTZhbHpSZFE2ZDN4cyIsIm1hYyI6IjRhOTA1MmEzMzE1Zjc3YTg3ZWU5MGJkY2UxMTYyMjE4NmFkYmQwZWY2YmMzZjM1ODk3NTcwNjJkNmM4NjZlYmMifQ%3D%3D; XSRF-TOKEN=eyJpdiI6InV0bFI3UFA5YUY0VXNvUXZsT21NZ3c9PSIsInZhbHVlIjoiYTR5eVhsQlc5WTJNVkdaK1wvVlpGNHZnQ0FuTGFtbUNjXC9FK29ENmVTb1pVenRGUlF6SDJucE9IWTkrZG0yWWZNIiwibWFjIjoiOWU5MTM1OTMzM2I0OTMyNjRlMWU5YzcxNmExOTcxMGFlODExYTZmNGUyNjljOWFmNTczOTA4OWM3OTdlZGU4NyJ9; laravel_session=eyJpdiI6Im9ueGt4UXRRUDNkdWo4a1VpcHRua0E9PSIsInZhbHVlIjoiNFJuVnVabFhLZStGd05adU1zdzFkZEQza2VEcUllR1wvbXpId2VGV0xFTHBxM3FTbEROWmpzUVVkM0NBTjRCTWsiLCJtYWMiOiJkYzM0MmY2YzJkZDY5NzFhOTlmNjYwODg4ODA1YTAxNWZmZDI4MmE0YWJkMDczZTFkODUyY2QzNzFmY2FlNDJiIn0%3D
Host: 127.0.0.1:8000
Referer: http://127.0.0.1:8000/admin/roles
Sec-Fetch-Mode: cors
Sec-Fetch-Site: same-origin
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36
X-CSRF-TOKEN: Go8Z23rewMkmaAQZZlHoZgwU33qLLEjuhe8WXNfQ
X-Requested-With: XMLHttpRequest
X-XSRF-TOKEN: eyJpdiI6InV0bFI3UFA5YUY0VXNvUXZsT21NZ3c9PSIsInZhbHVlIjoiYTR5eVhsQlc5WTJNVkdaK1wvVlpGNHZnQ0FuTGFtbUNjXC9FK29ENmVTb1pVenRGUlF6SDJucE9IWTkrZG0yWWZNIiwibWFjIjoiOWU5MTM1OTMzM2I0OTMyNjRlMWU5YzcxNmExOTcxMGFlODExYTZmNGUyNjljOWFmNTczOTA4OWM3OTdlZGU4NyJ9```

DEVDASTUDIO avatar Feb 26 '20 14:02 DEVDASTUDIO