#963·jwt-auth

JWT secret not being set.

Author: aijcoaCreated Jan 20, 2017Updated Sep 9, 2026

I'm using php artisan jwt:generate to generate a token, which returns the following:

jwt-auth secret [...] set successfully.

But where is it set? The JWT_SECRET variable in my .ENV file doesn't change, and if I perform a project wide search for the key it's not found.

Does this command work?

Laravel 5.3, jwt-auth 0.5.9.