Token expiration length for API key login
In the config/wave.php
file there is a key for 'api' => 'auth_token_expires'
, does this only control the expiration for logging into the API with user name and password?
I was getting a 1 hour expiration when using the API key to login, and I noticed that in config/jwt.php
there is a 'ttl' => env('JWT_TTL', 60)
entry. If I add JWT_TTL=10080 into my .env file, I get a 500 error.
The error is: "Carbon\Carbon::rawAddUnit(): Argument #3 ($value) must be of type int|float, string given"
I instead was able to change it to 'ttl' => env('JWT_TTL', 10080)
but I'm wondering why adding the JWT_TTL key in the .env file produces an error when it should produce the same result?
I have the same problem. Anyone?