Skip to content

[Feature] 希望将sessions里面的10分钟过期jwk token自定义成配置项 #305

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

Open
xudingjun3131 opened this issue Mar 18, 2025 · 1 comment
Assignees

Comments

@xudingjun3131
Copy link

请描述您的需求或者改进建议.
通过接口/kubepi/api/v1/sessions生成的jwt token 默认过期时间是10分钟。

internal/api/v1/session/session.go中这个
jwtMaxAge能不能配置化。
jwtMaxAge = 10 * time.Minute

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