All Questions
Tagged with laravel authentication
3,395 questions
0
votes
1
answer
16
views
In Laravel Jetstream Dashboard my profile and teams links (top right corner) aren't working
I'm working on a Laravel Jetstream project, and have been focusing on data & core functionality for a while now. I just noticed that the project never asks me to log in, so I guess either there's ...
2
votes
1
answer
70
views
Google Gmail API in Laravel returns 401 Unauthorized (Missing Authentication Credential)
I'm integrating Gmail API in my Laravel app using the google/apiclient package. The goal is to allow users to connect their Gmail accounts, fetch profile info, and later send/receive emails.
I've ...
-1
votes
1
answer
46
views
how can i connect my login page after i did the register page?
I've been trying to make a simple system with 2 roles, 1 for admin(teacher) and 1 for user(student), but it seems that every time I try logging in to the admin sample account, it just refreshes the ...
-3
votes
0
answers
41
views
Google Sign-In with FedCM
My company already has a website built with NextJS & we have implemented a couple of social logins (Facebook & Apple).
Now we are looking into enabling Google Sign-in. So i thought the flow ...
0
votes
0
answers
46
views
Cannot access Auth object from Laravel 9 Nwidart module
For some reason, I am unable to access the Auth object from a Nwidart module in a Laravel 9 application, whether I try to access it from one of the module's controllers or from one of the main ...
0
votes
1
answer
25
views
Unexpected Redirect to /home in Laravel Multi-Guard Auth - Route Not Working (302)
I'm facing an issue with my multi-guard authentication setup in Laravel involving impersonation. I have four guards defined: admin, distributor, customer, and user. My system allows a customer to ...
0
votes
1
answer
83
views
Preventing Access to Login Page After Authentication in Laravel + Inertia + React (ShadCN + Breeze)
I followed ShadCN's official documentation to set up a React starter kit with Laravel Breeze. Authentication works correctly, but I encountered an issue where users could navigate back to the login ...
0
votes
1
answer
70
views
Laravel 419 Page Expired on Hosting but Works Locally
I recently faced an issue with my Laravel application after deploying it to a hosting server. When trying to log in, I kept getting the following error:
419 Page Expired
However, everything worked ...
0
votes
1
answer
120
views
How to Prevent Authenticated Users from Accessing the Login Page in Laravel 12
in my laravel 12 project, I use 2 tables for authentication, i.e. the users table and the admin_users table which are both extended Authenticatable in the model.
When a logged-in user navigates to a ...
0
votes
0
answers
76
views
Login credentials authentication with external API
The Laravel app I'm working on has no database, all the data comes from an API. What is the correct strategy to handle the app login? As this application has no database I can't rely in Laravel's ...
0
votes
0
answers
31
views
Best way to authenticate and identify individual screens in a Laravel API using Passport
I'm fairly new to Laravel, and I'm working on a project for independent restaurants to have ordering screens (similar to those at McDonald's).
This is an API-based application, and I'm using Laravel ...
0
votes
1
answer
86
views
Sanctum expired tokens not removed from personal_access_token table when expired
I created an authentication app using Laravel API Sanctum and React.js. Now when the user is logged In the token is sent from the API with an expiration duration of 30 minutes. There are two cases ...
0
votes
0
answers
56
views
Laravel 11 Fortify Post-Authentication Redirect Doesn't Render Content
Fortify authentication succeeds, session is updated, controller method assigned to the redirected route fires and loads the view, app-layout with passed-in content is generated, but the login page ...
0
votes
0
answers
44
views
Email verification in wave v3 Saas template
Im new to laravel and Ia m using wave v3 from devdojo for my saas app which is actualy done except for one thing and that is email verification of regustered user. Documentations says that I meed to ...
0
votes
0
answers
29
views
How to change the default behavior of intended method in laravel when redirecting users 11
i have a website without login page. actually my login form is a pop up form that can be showed in any page when user click on the login/register button. i want to redirect my authenticated users to ...