construct
9 months ago

Email Verification via API with 5.7

Posted 9 months ago by construct

Please forgive me for my lack of ignorance, but has anyone managed to get the email verification working in an API environment? Currently I have followed what was stated here

https://stackoverflow.com/questions/52362927/laravel-email-verification-5-7-using-rest-api

and everything seems to work, however when I click on the "Verify Email Address" I get transferred to my incorrect login API route (By incorrect I mean /api/login instead of /login). I am aware that this has a lot to do with

$this->middleware('auth');

So my question is how do I disable the redirect for /email/verify, or how exactly would I implement the following github repo in to my current project.

https://github.com/iliyaZelenko/laravel5.7-vue-cli3-boilerplate

I don't want to clone this in to my current project and have everything break.

Any suggestions?

Thanks.

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