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

admin后台无法创建,查看用户 || admin background cannot be created, view users #98

Closed
Peterzhangnoise opened this issue Jul 5, 2023 · 5 comments

Comments

@Peterzhangnoise
Copy link

Peterzhangnoise commented Jul 5, 2023

上层nginx反代,加ssl实现https
image


The upper layer nginx reverse generation, add ssl to achieve https
image

@github-actions github-actions bot changed the title admin后台无法创建,查看用户 admin后台无法创建,查看用户 || admin background cannot be created, view users Jul 5, 2023
@moonrailgun
Copy link
Contributor

moonrailgun commented Jul 5, 2023

这是因为你的jwt没有通过验证导致的,可能是因为上一次签发的token和最新的秘钥无法匹配上导致的,理论上应该会回到登录页面才对啊?退出登录后重进后台看看呢?


This is because your jwt has not passed the verification. It may be because the token issued last time does not match the latest secret key. In theory, it should return to the login page, right? How about logging out and re-entering the background?

@Peterzhangnoise
Copy link
Author

这是因为你的jwt没有通过验证导致的,可能是因为上一次签发的token和最新的秘钥无法匹配上导致的,理论上应该会回到登录页面才对啊?退出登录后重进后台看看呢?

This is because your jwt has not passed the verification. It may be because the token issued last time does not match the latest secret key. In theory, it should return to the login page, right? How about logging out and re-entering the background?

退出登录还是一样,我甚至还清楚浏览器缓存试了下

@Peterzhangnoise
Copy link
Author

Peterzhangnoise commented Jul 5, 2023

还发现一个问题浏览器在登陆页面的时候登陆第一下是不会跳转的,这时候拿到一个token,再点下登陆才会跳转,然后又拿到一个新的token,如果expiredAt是时间戳的话,那么这个时间在两个小时后


I also found a problem that the browser will not jump when you log in for the first time when you log in to the page. At this time, you get a token, and then click to log in to jump, and then get a new token. If expiredAt is If the timestamp is used, then this time is two hours later

@moonrailgun
Copy link
Contributor

moonrailgun commented Jul 5, 2023

感谢反馈,确实是有些问题。将会在今天发布1.8.2版本修复该问题


Thanks for the feedback, there are indeed some issues. Will release version 1.8.2 today to fix this problem

@moonrailgun
Copy link
Contributor

v1.8.2 has been released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants