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

Refresh token mekanizması çalışmıyor #157

Open
Trkrkrl opened this issue Mar 17, 2024 · 0 comments
Open

Refresh token mekanizması çalışmıyor #157

Trkrkrl opened this issue Mar 17, 2024 · 0 comments

Comments

@Trkrkrl
Copy link

Trkrkrl commented Mar 17, 2024

Refresh token mekanizması çalışmıyor. Token sonsuz döngü yaratıyor. Aşağıdaki de hata mesajımız:

System.Text.Json.JsonException: A possible object cycle was detected. This can either be due to a cycle or if the object depth is larger than the maximum allowed depth of 32. Consider using ReferenceHandler.Preserve on JsonSerializerOptions to support cycles. Path: $.RefreshToken.User.RefreshTokens.User.RefreshTokens.User.RefreshTokens.User.RefreshTokens.User.RefreshTokens.User.RefreshTokens.User.RefreshTokens.User.RefreshTokens.User.RefreshTokens.User.RefreshTokens.UserId.

Sorun bence RefreshToken türü ile user arasında oluşturulan llişkiden veya komple refresh token mekanizmasından kaynaklı.
Ayrıca ilişkili hata kayıtları nArchGen projesi reposunda da mevcut

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

1 participant