I believe in that case, you need to put your activate-manager route code in web since you are trying to access this via web browser.
Jun 21, 2019
4
Level 1
Email validation in API.
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}', 'ShopOwnerController@activateManager');
Now when I click in the link of my email, it shows me unauthenticated issue.
How to solve this issue?
Level 70
3 likes
Please or to participate in this conversation.