Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login not working #5

Open
connecteev opened this issue Aug 30, 2019 · 7 comments
Open

Login not working #5

connecteev opened this issue Aug 30, 2019 · 7 comments
Labels
question Further information is requested

Comments

@connecteev
Copy link

@iliyaZelenko

I tested your repo in an attempt to get laravel passport + nuxt working. I am trying to get end-to-end login and a full oauth flow (et access token, use access token to call an API) working.

I went through the installation steps here ttps://iliyazelenko.github.io/laravel-nuxt/features/
but was not successful. Login is not working.

This is what i see in the console:

Access to XMLHttpRequest at 'http://localhost:8000/api/auth/user' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
VM16:1 GET http://localhost:8000/api/auth/user net::ERR_FAILED


(anonymous) @ default.4a3a4789bf2a52cf0c8c.js:1
(anonymous) @ default.4a3a4789bf2a52cf0c8c.js:1
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Kt @ vendor.af2a0b3ea8c956ee7840.js:2
Promise.then (async)
Yt @ vendor.af2a0b3ea8c956ee7840.js:2
ne @ vendor.af2a0b3ea8c956ee7840.js:2
t.$nextTick @ vendor.af2a0b3ea8c956ee7840.js:2
$route @ default.4a3a4789bf2a52cf0c8c.js:1
mn.run @ vendor.af2a0b3ea8c956ee7840.js:2
fn @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Kt @ vendor.af2a0b3ea8c956ee7840.js:2
Promise.then (async)
Yt @ vendor.af2a0b3ea8c956ee7840.js:2
ne @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
mn.update @ vendor.af2a0b3ea8c956ee7840.js:2
ht.notify @ vendor.af2a0b3ea8c956ee7840.js:2
set @ vendor.af2a0b3ea8c956ee7840.js:2
vn.set @ vendor.af2a0b3ea8c956ee7840.js:2
finish @ app.645573c91ffd4049cb05.js:1
(anonymous) @ app.645573c91ffd4049cb05.js:1
w @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
t.<computed> @ vendor.af2a0b3ea8c956ee7840.js:2
r @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Promise.then (async)
r @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Promise.then (async)
r @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Promise.then (async)
r @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Promise.then (async)
r @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Promise.then (async)
r @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
e @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ app.645573c91ffd4049cb05.js:1
p @ vendor.af2a0b3ea8c956ee7840.js:2
i @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ app.645573c91ffd4049cb05.js:1
w @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
t.<computed> @ vendor.af2a0b3ea8c956ee7840.js:2
r @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Promise.then (async)
r @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
e @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ app.645573c91ffd4049cb05.js:1
p @ vendor.af2a0b3ea8c956ee7840.js:2
i @ vendor.af2a0b3ea8c956ee7840.js:2
i @ vendor.af2a0b3ea8c956ee7840.js:2
gt @ vendor.af2a0b3ea8c956ee7840.js:2
Tt.confirmTransition @ vendor.af2a0b3ea8c956ee7840.js:2
Tt.transitionTo @ vendor.af2a0b3ea8c956ee7840.js:2
e.push @ vendor.af2a0b3ea8c956ee7840.js:2
(anonymous) @ vendor.af2a0b3ea8c956ee7840.js:2
Pt.push @ vendor.af2a0b3ea8c956ee7840.js:2
click @ default.4a3a4789bf2a52cf0c8c.js:1
Wt @ vendor.af2a0b3ea8c956ee7840.js:2
n @ vendor.af2a0b3ea8c956ee7840.js:2
Ci.s._wrapper @ vendor.af2a0b3ea8c956ee7840.js:2
:3000/:1 Unchecked runtime.lastError: The message port closed before a response was received.
signin:1 Unchecked runtime.lastError: The message port closed before a response was received.
signin.46ad6ed43ada31fc21e8.js:1 {password: "secret", email: "[email protected]"}
VM16:1 POST http://localhost:8000/api/auth/login 500 (Internal Server Error)

@iliyaZelenko
Copy link
Owner

Looks like a CORSE problem, but this problem must be solved through the barryvdh/laravel-cors, I noticed that there is no config that should be from this package (app/config folder), could you try these instructions . Should help.

I also assume that SPA mode works fine, as frontend and backend have the same origin (host).

@iliyaZelenko iliyaZelenko added the question Further information is requested label Aug 30, 2019
@connecteev
Copy link
Author

@iliyaZelenko just ran
$ php artisan vendor:publish --provider="Barryvdh\Cors\ServiceProvider"

and the CORS error went away but I am still seeing a 500 server error in console when I try to log in. See:
https://1ce.org/1#S10MVvISH

@iliyaZelenko
Copy link
Owner

iliyaZelenko commented Aug 30, 2019 via email

@connecteev
Copy link
Author

Here's the message and the stack trace

Request URL: http://localhost:8000/api/auth/login
Request Method: POST
Status Code: 500 Internal Server Error
Remote Address: 127.0.0.1:8000
Referrer Policy: no-referrer-when-downgrade
Access-Control-Allow-Origin: http://localhost:3000
Cache-Control: no-cache, private
Connection: close
Content-Type: application/json
Date: Fri, 30 Aug 2019 09:34:22 GMT, Fri, 30 Aug 2019 09:34:22 GMT
Host: localhost:8000
Server-Timing: app; dur=115.83995819092; desc="Application", timeline-event-total; dur=117.09880828857; desc="Total execution time.", timeline-event-initialisation; dur=7.7898502349854; desc="Application initialisation.", timeline-event-boot; dur=3.3080577850342; desc="Framework booting.", timeline-event-run; dur=109.30895805359; desc="Framework running."
Vary: Origin
X-Clockwork-Id: 1567157662-3901-888414060
X-Clockwork-Version: 2.2.5
X-Powered-By: PHP/7.3.5
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 56
Provisional headers are shown
Accept: application/json, text/plain, */*
Content-Type: application/json;charset=UTF-8
Referer: http://localhost:3000/auth/signin
Sec-Fetch-Mode: cors
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
{password: "secret", email: "[email protected]"}
email: "[email protected]"
password: "secret"
{
    "message": "compact(): Undefined variable: operator",
    "exception": "ErrorException",
    "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php",
    "line": 1392,
    "trace": [
        {
            "function": "handleError",
            "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php",
            "line": 1392,
            "function": "compact"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php",
            "line": 1286,
            "function": "addWhereExistsQuery",
            "class": "Illuminate\\Database\\Query\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php",
            "line": 245,
            "function": "__call",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php",
            "line": 51,
            "function": "addHasWhere",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php",
            "line": 131,
            "function": "has",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/app/User.php",
            "line": 207,
            "function": "whereHas",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php",
            "line": 955,
            "function": "scopeOfEmail",
            "class": "App\\User",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php",
            "line": 1279,
            "function": "callScope",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php",
            "line": 1570,
            "function": "__call",
            "class": "Illuminate\\Database\\Eloquent\\Builder",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php",
            "line": 1582,
            "function": "__call",
            "class": "Illuminate\\Database\\Eloquent\\Model",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/app/Http/Controllers/API/Auth/AuthController.php",
            "line": 123,
            "function": "__callStatic",
            "class": "Illuminate\\Database\\Eloquent\\Model",
            "type": "::"
        },
        {
            "function": "login",
            "class": "App\\Http\\Controllers\\API\\Auth\\AuthController",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Controller.php",
            "line": 54,
            "function": "call_user_func_array"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
            "line": 45,
            "function": "callAction",
            "class": "Illuminate\\Routing\\Controller",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
            "line": 212,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\ControllerDispatcher",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
            "line": 169,
            "function": "runController",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 665,
            "function": "run",
            "class": "Illuminate\\Routing\\Route",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 30,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/app/Http/Middleware/RedirectIfAuthenticated.php",
            "line": 24,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "App\\Http\\Middleware\\RedirectIfAuthenticated",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/barryvdh/laravel-cors/src/HandleCors.php",
            "line": 58,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Barryvdh\\Cors\\HandleCors",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
            "line": 41,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php",
            "line": 57,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Routing\\Middleware\\ThrottleRequests",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 104,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 667,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 642,
            "function": "runRouteWithinStack",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 608,
            "function": "runRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
            "line": 597,
            "function": "dispatchToRoute",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 176,
            "function": "dispatch",
            "class": "Illuminate\\Routing\\Router",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 30,
            "function": "Illuminate\\Foundation\\Http\\{closure}",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/fideloper/proxy/src/TrustProxies.php",
            "line": 57,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Fideloper\\Proxy\\TrustProxies",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 31,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
            "line": 31,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php",
            "line": 27,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php",
            "line": 62,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/itsgoingd/clockwork/Clockwork/Support/Laravel/ClockworkMiddleware.php",
            "line": 28,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Clockwork\\Support\\Laravel\\ClockworkMiddleware",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/barryvdh/laravel-cors/src/HandlePreflight.php",
            "line": 35,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 151,
            "function": "handle",
            "class": "Barryvdh\\Cors\\HandlePreflight",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php",
            "line": 53,
            "function": "Illuminate\\Pipeline\\{closure}",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
            "line": 104,
            "function": "Illuminate\\Routing\\{closure}",
            "class": "Illuminate\\Routing\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 151,
            "function": "then",
            "class": "Illuminate\\Pipeline\\Pipeline",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
            "line": 116,
            "function": "sendRequestThroughRouter",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/public/index.php",
            "line": 55,
            "function": "handle",
            "class": "Illuminate\\Foundation\\Http\\Kernel",
            "type": "->"
        },
        {
            "file": "/Users/kunalpunjabi/Code/EXPLORATIONS/iliyazelenko_laravel_nuxt_auth/server.php",
            "line": 21,
            "function": "require_once"
        }
    ]
}

@iliyaZelenko
Copy link
Owner

iliyaZelenko commented Aug 30, 2019 via email

@connecteev
Copy link
Author

@iliyaZelenko I'm happy to do a test for you when this is fixed

@connecteev
Copy link
Author

@iliyaZelenko i am actually using the default config, not the latest version of laravel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants