Support the ongoing development of Laravel.io →

1,917 Threads

Passport - Get Request Working but POST request not working

Hi, I'm trying to use passport method for api access but its showing some http exception with post m...

0 Likes
0 Replies

What Is A Right Way To Authenticate SPA App? (API)

Hello everyone! I have very exciting question form me. What is a right way to authenticate your SPA...

0 Likes
0 Replies

Microservice

Hi everyone, I am a newbie when it comes to Laravel and Lumen. I am looking into building an API gat...

0 Likes
0 Replies

Using Auth::check() in multiple guards

Hello, I am trying to make a route available to both our web app and api. The problem I am having is...

0 Likes
5 Replies

Error on Auth Routes, Class Frontend\Auth\LoginController do

I started to upgrade a Laravel project form v5.2 to v5.6. I followed the doc and made the changes li...

0 Likes
1 Replies

middleware not allowing me login on web guard

public function handle($request, Closure $next, $guard = null) { switch($guard){ case 'admin': if(Au...

0 Likes
0 Replies

Save language of user in database

Hey, I want to sent SMS to user's mobile. The message should be sent in the users language. Where I...

0 Likes
1 Replies

Session is killed after login attempt

I have set up login feature for normal login (email, password) and facebook login using socialite. E...

0 Likes
1 Replies

Laravel 5.6 session persistence issue

I'm getting session persistence issue in laravel 5.6 ... the issue I'm facing is: Like I have 2 user...

0 Likes
0 Replies

Is it safe to protect AJAX Routes with Auth middleware?

Hello, I'm sorry if this is redundant or not the place to ask, I don't consider myself a good code w...

0 Likes
0 Replies

Incorrect redirect after login

I have a site with 2 different logins, one for users (I use the default auth) and one for admins, fo...

0 Likes
0 Replies

Laravel Echo / Socket.io session token refresh?

I'm working on a Vue SPA adding realtime features using Laravel Echo, Laravel Echo Server, and Redis...

0 Likes
0 Replies

Laravel authentication without global scope

Hello. In my app user model has a global scope "active", which checks if the "active&...

0 Likes
5 Replies

Laravel Passport Invalid credentials grant_type - Password

I am having difficulty setting up Passport in Laravel 5.6. The first time when I followed this tutor...

0 Likes
2 Replies

Extend Auth Facade with a method

I would like to access a column called "access_level" in table "roles". The thin...

0 Likes
0 Replies

Session is automatically destroyed with the change of view

When i call a method where i set session is execute perfectly.After set the session when i call ano...

0 Likes
1 Replies

Multi Auth

Three Roles Student Teacher Parent These three roles assign by super-admin. Student, Teacher, Parent...

0 Likes
0 Replies

Validate only client_id and client secret oauth2.0 passport.

Hi Folks, I am new to laravel passport. I am developing Rest API services with the help of Laravel P...

0 Likes
0 Replies

How to Route Model Bind with dynamic database connection?

Hi good people. Have been stuck for hours on end with model binding with dynamic DB connection. I ha...

0 Likes
3 Replies

Disable registration for new users

Hello, I am making a single user project using #laravel, Single user = the only administrator with f...

0 Likes
2 Replies
Solved

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

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.