shamshashmi's avatar

JWTAuth::attempt($credentials)

I'm creating a prototype API using dingo API and JwtAuth package on Lumen. When i call JWTAuth::attempt($credentials) function it return with the following error:

{"message":"call_user_func_array() expects parameter 1 to be a valid callback, class 'Illuminate\Auth\RequestGuard' does not have a method 'once'","status_code":500}

Any help would be highly appreciated in this regard.

0 likes
2 replies

Please or to participate in this conversation.