Support the ongoing development of Laravel.io →
Authentication
Last updated 1 year ago.
0

I would look at making a custom auth driver for this.

You could then use the built in auth api with your custom driver to handle the authentication.

https://laravel.com/docs/5.2/authentication#adding-custom-guards

This should let you treat the login just like a regular login in Laravel, with redirects, errors, etc. but using your special authentication method for the backend password/username checking.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

cahitkome cahitkome Joined 12 Mar 2016

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.

© 2024 Laravel.io - All rights reserved.