Support the ongoing development of Laravel.io →

1,909 Threads

How to destroy users' session or logout user?

Question: How to destroy users' session or logout user when the user closed the browser? There are s...

0 Likes
0 Replies

Laravel 5.6 - Need Help with Session and Middleware

Hello I have the similar problem as https://github.com/laravel/framework/issues/13000 but i don't un...

0 Likes
0 Replies

The Right Way(tm) to add an SHA512 Hasher

Please preface this with "I'm REALLY new to Laravel". I would like to be able to add custo...

0 Likes
0 Replies

I am stuck at chmod in Laravel from last many Days.

My Site was working fine, and i move my website from VPS to AWS(LAMP) Now after login function i am...

0 Likes
1 Replies

Laravel 5.6 get user id in Routes

I have users table and related user_groups table and there is access_level column in the user_groups...

0 Likes
1 Replies

Laravel 5.2 - Passport

Hi, I have been working on laravel 5.2 from last 3 years on one of my stable product. I found it qui...

0 Likes
0 Replies

Laravel Auth retrieve wrong/unexpected user

I have a problem with my laravel application, it is like a nightmare to me ? I've tried everything I...

0 Likes
3 Replies
posted 6 years ago

Allow direct access to home for guests without logging in

This =has to be super simple, but I can't quite figure it out. I want guest users (not logged in) to...

0 Likes
2 Replies

Modular architecture and API auth doubts for mid size app

Hi! I am stuck. I need to develop a medium sized application but I can't decide on the architecture....

0 Likes
0 Replies

Can anyone help take Laravel JWT seriously

I'd try to tackle this myself, but I have zero bandwidth. JWT is standardized for many reasons and i...

0 Likes
1 Replies

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

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.

© 2024 Laravel.io - All rights reserved.