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

IssueTokenAsync拿不到refresh_token #587

Open
passcar opened this issue Nov 3, 2022 · 2 comments
Open

IssueTokenAsync拿不到refresh_token #587

passcar opened this issue Nov 3, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@passcar
Copy link

passcar commented Nov 3, 2022

WalkingTec.Mvvm.Mvc.Auth.TokenService.IssueTokenAsync
这里直接置空了
return await Task.FromResult(new Token()
{
AccessToken = token,
ExpiresIn = _jwtOptions.Expires,
TokenType = AuthConstants.JwtTokenType,
RefreshToken = ""
});

@passcar passcar added the bug Something isn't working label Nov 3, 2022
@liuliang-wt
Copy link
Collaborator

新版本移除了RefreshToken,直接携带原有token调用RefreshToken方法就可以

@passcar
Copy link
Author

passcar commented Nov 11, 2022

新版本移除了RefreshToken,直接携带原有token调用RefreshToken方法就可以

谢谢回复,在v6.2.0看到changeLog了,另外请教下,继承了ISubFile的model在实例化时,对应的Field和MultiUploadTagHelper中的idstring没有被赋值,查了ef的相关文档,可能是多个外键导致全局查询筛选器冲突了,这个情况该如何解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants