Best Way To Handle Passport Expirations

Posted 1 week ago by boldstar

So my question is, if I put a time limit on my passort tokens such as

Passport::tokensExpireIn(now()->addDays(1));

What would be the best way to notify the user that there session will be ending soon or that there session has ended?

Just looking for ideas...

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

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.