laravel / fortify

Backend controllers and scaffolding for Laravel authentication.
https://laravel.com/docs/fortify
MIT License
1.63k stars 299 forks source link

When SPA is used, user verify email is redirected to one URL instead of json response. #241

Closed itsnunolemos closed 3 years ago

itsnunolemos commented 3 years ago

Description:

When SPA is used, user verify email is redirected to one URL instead of json response.

Steps To Reproduce:

  1. Create one SPA (single page application) or use Postman and use sanctum and fortify
  2. Create one user (with Email Verification on)
  3. Verify your email and click in the verification link
  4. SPA expect http code 204 or 202 but receive one redirect link
driesvints commented 3 years ago

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.