Skip to content

If Using tymondesigns/jwt-auth Token. How would I access to $app['auth']->check() #23

@FerchoCarcho

Description

@FerchoCarcho

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 !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions