You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/09/24 09:30:18 UTC
[GitHub] [apisix-dashboard] idbeta opened a new issue #511: using dashboard for a while , the token expired
idbeta opened a new issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511
Please answer these questions before submitting your issue.
- Why do you submit this issue?
- [*] Question or discussion
- [ ] Bug
- [*] Requirements
- [ ] Feature or performance improvement
- [ ] Other
when i login with admin account and using dashboard for a while , the token expired, i think it's not user-friendly...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan closed issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan commented on issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511#issuecomment-698431701
There have 2 ways to implement this feature:
1. Implement this feature on the backend, so if the token should expire is rely on some cache DB, e.g Redis.
2. JWT with Refresh logic, just like Wechat OAuth[1] does.
[1] https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Authorized_Interface_Calling_UnionID.html
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan edited a comment on issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
juzhiyuan edited a comment on issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511#issuecomment-748745689
3600s is the default expired due time.
![image](https://user-images.githubusercontent.com/2106987/102738511-4f97ec80-4385-11eb-91b9-fd5e422d851c.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] membphis commented on issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511#issuecomment-698360031
Is the refresh of the token done on the front end? Or `manage API`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan commented on issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511#issuecomment-698431701
There have 2 ways to implement this feature:
1. Implement this feature on the backend, so if the token should expire is rely on some cache DB, e.g Redis.
2. JWT with Refresh logic, just like Wechat OAuth[1] does.
[1] https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Authorized_Interface_Calling_UnionID.html
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan edited a comment on issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
juzhiyuan edited a comment on issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511#issuecomment-698431701
There have 2 ways to implement this feature:
1. Implement this feature on the backend, so if the token should expire is rely on some cache DB, e.g Redis.
2. JWT with Refresh logic, every refresh action will generate a new token.
## Reference
[1] https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Authorized_Interface_Calling_UnionID.html
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan edited a comment on issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
juzhiyuan edited a comment on issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511#issuecomment-698431701
There have 2 ways to implement this feature:
1. Implement this feature on the backend, so if the token should expire is rely on some cache DB, e.g Redis.
2. JWT with Refresh logic, every refresh action will generate a new token.
## Reference
[1] https://developers.weixin.qq.com/doc/oplatform/Website_App/WeChat_Login/Authorized_Interface_Calling_UnionID.html
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] membphis commented on issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511#issuecomment-698360031
Is the refresh of the token done on the front end? Or `manage API`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [apisix-dashboard] juzhiyuan commented on issue #511: using dashboard for a while , the token expired
Posted by GitBox <gi...@apache.org>.
juzhiyuan commented on issue #511:
URL: https://github.com/apache/apisix-dashboard/issues/511#issuecomment-748745689
![image](https://user-images.githubusercontent.com/2106987/102738511-4f97ec80-4385-11eb-91b9-fd5e422d851c.png)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org