Support the ongoing development of Laravel.io →
Authentication

I'm just starting out with Laravel and am using Auth & Socialite on a new project with a basic user login system.

I need to implement a PIN as a 2nd level of authentication after the user has been authenticated either via Facebook login (Socialite) or Laravel's Auth.

If Facebook wasn't involved I'd just create a custom validator for the general login form however I need the user to be prompted and validate their PIN when coming via Facebook each time too.

Any suggestions on the best method to go about this? Do I need to look at extending Auth or is there an easier way?

Thanks in advance!

Last updated 3 years ago.
0

Hello, I am curious to know, have implemented the pin authentication? Can you share your experience?

Thanks

0

Sign in to participate in this thread!

Eventy

Your banner here too?

rajdeut rajdeut Joined 8 Nov 2015

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.