Protect frontend controller by token

Posted 2 years ago by rikw


I'm looking for a way to protect a frontend controller by a token. We want to send customers an email that gives access to a particular record using that token. I saw information about custom guards. Is that the way to go? Or is there a easier way to solve this?

Cheers, Rik

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

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.