1 year ago

Email validation in API.

Posted 1 year ago by laravel007


I am developing API where user need to verify email's ownership. But when I put the endpoint in api.php file that need access token in every request. I need this url need to be accessible publicly and user will click from email link to verify.

Here is my url- api.php

Route::get('/activate-managers/{hash}', '[email protected]');

Now when I click in the link of my email, it shows me unauthenticated issue.

How to solve this issue?

Please sign in or create an account to participate in this conversation.