Skip to main content

All Questions

Tagged with
0 votes
0 answers
22 views

LDAP Integration for Laravel Project

I am currently having a trouble when authenticating a default, non-modified AD user in my Laravel Project. I am using this extension called LdapRecord-Laravel Before making this post I made sure that ...
alex wang's user avatar
1 vote
0 answers
66 views

connecting database with laravel --> postman doesnt display data

my api.php <?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\UserController; Route::middleware('auth:api')->get('/user',function (Request $...
Deelliiee's user avatar
0 votes
1 answer
34 views

How can i retrieve Auth data in 404 pages in Laravel 11

The fix was simple in previous Laravel version, but now with the current files restructuring, it is not clear how to solve this anymore, i want the Auth data to be shared even in 404 pages, i ...
Emad Ha's user avatar
  • 1,218
0 votes
0 answers
29 views

How can I customise Laravel Fortify forgotten password behaviour?

My application is built from a Jetstream starter kit, and uses Laravel Fortify for authentication. The forgotten password behaviour is considered a security risk as it allows username enumeration. For ...
charliefortune's user avatar
0 votes
0 answers
55 views

Laravel Filament login error on auth pages

I've just had an error said 'The POST method is not supported for route admin/login. Supported methods: GET, HEAD.' on the login and registration pages. My project is working properly when it is local,...
Balázs Áron Szalai's user avatar
0 votes
0 answers
22 views

Next.js Authentication Issue: Page Redirects to Login After 2-3 Seconds

I'm trying to build a new project with a Laravel backend and a Next.js frontend. I'm having issues with authentication. The login and register functions work without any problems, but when I try to ...
Aytuğ HAN's user avatar
0 votes
1 answer
53 views

Cannot authenticate in fresh installed Laravel 11 with MySQL/MariaDB

I cannot have Laravel 11 authentication working with MySQL or MariaDB. Here's what I've done: Install Laravel with composer create-project laravel/laravel foo Create Database and edit .env ...
Arcesilas's user avatar
  • 1,402
0 votes
1 answer
66 views

Laravel Socialite randomly missing 'code' in request

I'm using Laravel Socialite in my project for google login. public function handleProviderCallback(): RedirectResponse { $provider = Socialite::driver('google')->scopes(['openid', '...
yadu siva das's user avatar
0 votes
0 answers
54 views

laravel filament auth()->user() returns null from helper file

I'm working on a Laravel application and using the Filament admin panel. I created a custom helper function to check user roles and access, but when I call auth()->user() inside this helper ...
Arun P's user avatar
  • 752
0 votes
1 answer
70 views

The "providers" array is not present in laravel's config/app.php

I want to register the 'authserviceprovider' provider in the 'provider' array in config/app.php, but the 'provider' array is not in that file, is there something wrong with my installation, or my ...
sing tenang's user avatar
0 votes
0 answers
20 views

How to use Laravel's Policy to authorize actions based on a specific attribute of a related model?

I have a Laravel application with two models: Post and User. Each Post belongs to a User, and I want to authorize actions on a Post based on a specific attribute of the User who owns the post. For ...
Alaa Elalfy's user avatar
-3 votes
1 answer
99 views

Laravel version 11 Authentication

I'm trying to make authentication for both the User and Admin from the same login view and within the same controller the authentication is successfully done until the store method redirects the user ...
Assem Mohsen's user avatar
2 votes
1 answer
58 views

Laravel email verification URL redirect to 404

I want to use a custom template for verification emails being sent by Laravel 11. It generates a verification url, but when I click it, it shows 404 on the browser. Below is my user model where I ...
Ish's user avatar
  • 21
0 votes
1 answer
163 views

Using laravel 11 cookie to manually authenticate a request

im trying to authenticate a request sent from the front end from another domain i tried to set the 'Cookie' header with the cookie value but it was blocked by the browser ,so i did the following ...
naoru's user avatar
  • 2,187
0 votes
0 answers
114 views

Undefined array key 'password' error in Laravel Auth::attempt

I'm encountering an "Undefined array key 'password'" error when trying to log in a user using Laravel's Auth::attempt method. Below is the relevant section of my code: public function ...
E41220949 Rahma Dwi Agustin's user avatar

15 30 50 per page
1
2 3 4 5
226