DeployBoard / DeployBoard/deployboard-python

Figure out jwt refresh token

未关闭
#1 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api enhancement web
主要语言
Python
星标
10
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

Right now the jwt expires after a set time (8 hour default) and forces the user to re-authenticate, which I think is an acceptable balance between security and user experience.

The security concern is that if a jwt is leaked somehow, the individual that has the compromised jwt now has up to 8 hours to do harm.

I would like to be able to implement some type of refresh token system where the access token is valid for only a short time (maybe 30 minutes), then a refresh token would be sent back to the api to extend the jwt another 30 minutes.

I personally need to do a bit more research on the topic, but certainly welcome anyone with experience to provide input.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。