Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jwt 错乱 #225

Closed
Maplejay opened this issue Feb 27, 2020 · 6 comments
Closed

jwt 错乱 #225

Maplejay opened this issue Feb 27, 2020 · 6 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@Maplejay
Copy link

  1. Your software version (Screenshot of your startup)

    Software Version
    PHP 7.2
    Swoole 4.0
    Laravel/Lumen 5.5
  2. Detail description about this issue(error/log)

    Hhxsv5\LaravelS\Illuminate\Cleaners\SessionCleaner::class,
    Hhxsv5\LaravelS\Illuminate\Cleaners\AuthCleaner::class,
    Hhxsv5\LaravelS\Illuminate\Cleaners\JWTCleaner::class,
    加了这三个,jwt的用户还是会错乱

  3. Some reproducible code blocks and steps

    // TODO: your code
@Maplejay Maplejay added the analyzing Analyzing this issue label Feb 27, 2020
@hhxsv5
Copy link
Owner

hhxsv5 commented Feb 27, 2020

Please provide a reproducible project archive(zip).

@Maplejay
Copy link
Author

代码不能发出去,能提供个思路吗,拓展包,用的是"tymon/jwt-auth": "1.0.0-rc.1",然后通过id,tokenById

@hhxsv5
Copy link
Owner

hhxsv5 commented Feb 27, 2020

#50 #109

@Maplejay
Copy link
Author

这两篇看过了,也尝试了上面说的方案,未能解决

@Maplejay
Copy link
Author

project (2).zip
@hhxsv5

@hhxsv5
Copy link
Owner

hhxsv5 commented Feb 28, 2020

红框的都是不需要配置的
image
尝试如下方案:
1.验证JWT之前,手动setRequest
2.打开destroy_controllers

@hhxsv5 hhxsv5 added duplicate This issue or pull request already exists and removed analyzing Analyzing this issue labels Feb 28, 2020
@hhxsv5 hhxsv5 closed this as completed Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants