Hello @bestmomo ,
Im trying to implement the jwt-auth Token for Authentication, As I understand Jwt Token doesnt Set any Session or Cookie when the user logs in Just Creates a Token and pass it to the user. And when the user needs to make Requests he/she delivers the Token along with data.
So My issue is because the authentication process was overriden and just a token was created, the process of checking to sessions in your default.config.php file no longer works when trying to get the app variable
$id = $app['encrypter']->decrypt($_COOKIE[$app['config']['session.cookie']]);
$app['session']->driver()->setId($id);
$app['session']->driver()->start();
Is there an Easy way to make Filemanager work with JWT to get the authenticated user credentials?
Thank you !!
Hello @bestmomo ,
Im trying to implement the jwt-auth Token for Authentication, As I understand Jwt Token doesnt Set any Session or Cookie when the user logs in Just Creates a Token and pass it to the user. And when the user needs to make Requests he/she delivers the Token along with data.
So My issue is because the authentication process was overriden and just a token was created, the process of checking to sessions in your default.config.php file no longer works when trying to get the app variable
Is there an Easy way to make Filemanager work with JWT to get the authenticated user credentials?
Thank you !!