Support the ongoing development of Laravel.io →
Authentication

I want to build a web system in laravel which will verify code from user input it may be input from user's phone's SMS, but if the code is correct, the code will be verified. If the same code is requested again and again, then notify already verified this code.

Anyone any idea?

Note: Session / OTP Idea not applicable here, Cause code can be input with a time span of a year or more from same user's same phone's number.

I've searched and found some following links:

https://medium.com/lightrail/getting-token-authentication-right-in-a-stateless-single-page-application-57d0c6474e3

https://medium.com/crypto-punks/why-you-shouldnt-scan-two-factor-authentication-qr-codes-e2a44876a524

but can someone help me out with my idea and how to implement it in Laravel?

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.