I’m new with Laravel, not sure of this one. I’try to retrieve this token from a FileMaker API in my Laravel app. In order to obtain it, I use a custom authentication service in my AuthServiceProvider with the Auth::viaRequest method. The request inside the method is quit simple. It’s just a basic auth POST request to the api url. The
Tag: laravel-authentication
My guard always returs null in custom middleware when trying to login
I am trying to make multi auth but i just cannot seem to make it work. I am using custom middleware instead of RedirectIfAuthenticated middleware but guard always returns null in my middleware but …
Can’t access the Auth::user() from a custom route file ? Laravel 7
For a purpose i decided to create a separate routing file for the admin and separating its logic from the web.php but instead i am facing this issue : ps: the admin.php is registered in the RouteServiceProvider Answer Add web middleware
Data type of ‘password’ field for manual input in phpmyadmin for Laravel application?
In my Laravel application I have two type of Users. One is ‘Admin’ and another is ‘Users’. For Admin I want to input an ‘username’ and ‘password’ manually to the database. So what’s the data type of …
How to authenticate user without a DB in Laravel?
I created a new project in Laravel that consumes all data from an API. For private data like a user profile, I need an access token to get the data. Once I have an access token, how do I set the …