laravel007
5 months ago
102
4
Laravel

Email validation in API.

Posted 5 months ago by laravel007

Hello

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.