Search code examples
laravellaravel-jetstream

Password reset link in email in Laravel Jetstream directs to GET method is not supported for this route


Laravel Jetstream default password reset process sends notification on password reset with the following link:

localhost/reset-password?token=xxx

However, after clicking the button or following the link in the mail an error is being displayed:

The GET method is not supported for this route. Supported methods: POST.

Does anybody know how to debug/resolve this issue please?


Solution

  • Add this route.

    Route::get('reset-password/{token}', [ResetPasswordController::class, 'create'])->name('password.reset');