Chris López
Chris López
Yeah, sure, here it is the stacktrace: ``` { "message": "Could not create token: It was not possible to parse your key, reason: error:1E08010C:DECODER routines::unsupported", "exception": "PHPOpenSourceSaver\\JWTAuth\\Exceptions\\JWTException", "file": "/var/www/html/vendor/php-open-source-saver/jwt-auth/src/Providers/JWT/Lcobucci.php", "line":...
Sorry, forgot the jwt.php ```
is there any fix?
Hello @EliasElimah, No i have not, i'm gonna test the commando jwt:generate, this commando generates the keys for you, and also configures the env variables.
> Probably together with the `storage_path()` or `base_path()` helper, whatever suits better, in your config directly. are those helpers can use in the .env file?
> I'm also having pretty much same issue as @EliasElimah. I belive this has something to do with the context in which the application and the test are being executed....
> If the relative path don't work in your configuration, you could also try an absolute path the reference your private/public key if i put the absolute path, i get...
> > Probably together with the `storage_path()` or `base_path()` helper, whatever suits better, in your config directly. > > are those helpers can use in the .env file? I think...
> > > Probably together with the `storage_path()` or `base_path()` helper, whatever suits better, in your config directly. > > > > > > are those helpers can use in...