spatie / laravel-web-tinker

Tinker in your browser
https://spatie.be/open-source
MIT License
1.05k stars 68 forks source link

tinker url shows 403 forbidden #83

Closed sahir-taib closed 2 years ago

sahir-taib commented 3 years ago

hi,

sorry if i missed any instruction provided but seems i've followed them carefully but get to see 403 forbidden page when tried to navigate to /tinker url.

my debug begins at routes found as follow:

|        | GET|HEAD  | tinker                                                                             |                                    | Spatie\WebTinker\Http\Controllers\WebTinkerController@index                                | Illuminate\Cookie\Middleware\EncryptCookies,Illuminate\Session\Middleware\StartSession,Spatie\WebTinker\Http\Middleware\Authorize |
|        | POST      | tinker                                                                             |                                    | Spatie\WebTinker\Http\Controllers\WebTinkerController@execute                              | Illuminate\Cookie\Middleware\EncryptCookies,Illuminate\Session\Middleware\StartSession,Spatie\WebTinker\Http\Middleware\Authorize |

so i disable middleware being set in https://github.com/spatie/laravel-web-tinker/blob/master/src/WebTinkerServiceProvider.php#L52-L54 and no more error 403 forbidden.

my question is how do i disable middleware without modifying as above?

spatie-bot commented 2 years ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.