Support the ongoing development of Laravel.io →

1,917 Threads

Android authentication Restful API

Hi All, i am developing a portal using laravel 5.4 and now i need to login users using Android. Can...

0 Likes
3 Replies

Laravel broadcaster, Pusher and echo function

Hi have fold all i need to follow to make show i used laravel broadcast well , may be am missing som...

0 Likes
2 Replies

Class 'Cartalyst\Sentinel\Laravel\SentinelServiceProvider'

Hello everybody, I don't have any problem running my app locally, I have cross checked my code thoro...

0 Likes
1 Replies

Auth::login from event handler not persisting

I have a L5.2 app where I'm trying to login a user in an Event Listener. All routes are wrapped in w...

0 Likes
1 Replies

Having a problem with auth()->attempt

auth()->attempt(); return true and it works but it doesn't work anymore I don't know why. it work...

0 Likes
0 Replies

Subdomain authentication

Hello, I've got this problem with the Auth::user() object not working properly when using subdomains...

0 Likes
4 Replies

Laravel 5 - Change password for logged in users

I already using password reset function for guest users. is there any interface to change password o...

0 Likes
4 Replies
posted 8 years ago

Generate Refresh Token

I'm working on user registration in my API using Laravel Passport, and I need to return refresh_toke...

0 Likes
1 Replies

[Laravel 5] How do I create a custom auth in laravel 5

In laravel 4.2 there's this example how can I do the same thing in laravel 5.x?

0 Likes
27 Replies
Solved

Use Auth in construct method

Laravel Version: 5.6.* PHP Version: 7.2.2 Database Driver & Version: Mysql 5.0.12 Description: l...

0 Likes
0 Replies

auth::attempt dont work!!

Hi I write a usercontroller with a function as doLogin that first check rules with validation and a...

0 Likes
18 Replies
Solved

Return JWT token to javascript SPA from socialite login

I have a SPA app built on vue.js with a lumen api using JWT tokens which is working fine. Im trying...

0 Likes
4 Replies

ajax post in laravel 5 return error 500 (Internal Server Error)

this is my test ajax in laravel 5 (refer below) $("#try").click(function(){ va...

0 Likes
14 Replies

Is this class safe use it for authentication?

Hi everyone, im new in laravel. I know that there is a built in auth system but just because a train...

0 Likes
2 Replies

Is this safe? An alternative to gates and policies

So like many others i’m trying to build a Laravel Crud app, but I’ve got the problem that users can...

0 Likes
0 Replies

File upload extension dangerous issue

Hello, my app uses laravel 4.2 and allows jpg,png,jpeg uploads however if a user uploads a file name...

0 Likes
0 Replies

Auth::user()

When I use Auth::user() in a controller I get null as a result. The reason I need the ID of the curr...

0 Likes
1 Replies
0 Likes
0 Replies

Dynamic callback url laravel socialite

I tried to make my callback url dynamic because I'm configuring socialite in a multi auth system. I...

0 Likes
3 Replies

Why does my custom register page gives exception?

I have some problem creating the auth part of my site: I tried to adapt my page to the register.blad...

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.

© 2025 Laravel.io - All rights reserved.