Hi, The refresh token duration is actually 30 minutes, but I want to reduce it to 10 minutes only within a specific method. In the rest of the project, it should remain 30 minutes. What should I do to achieve this?
<PackageReference Include="Volo.Abp.AspNetCore.Components.Server.LeptonXTheme" Version="2.2.-" /> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.2.-" />
I will try.
I'm using the Blazorise DatePicker, and in the month section, October appears twice, while November is missing. When selecting the second October, it assigns 11 but displays as October in the Turkish translation. What could be the reason? Was this fixed in later versions?
On page load, the side menu is currently visible as shown in the screenshot. How can I set it so that the side menu opens only after the page has fully loaded?
I want to use two blobs within the project. One should connect directly to the database, and the other should be set up as a file system. How can I do this?
Well, why am I getting a 401 error?
Yes, it keeps going to this address, and the encrypted part on the right side keeps showing different characters.
2024-09-04 04:59:08.006 +03:00 [INF] The authorization response was successfully returned to 'https://mykgsapi.erciyes.edu.tr/signin-oidc' using the form post response mode: {
"code": "[redacted]",
"id_token": "[redacted]",
"state": "CfDJ8KduvP9x88xFia4fRoEYie1UJ5TPbakFww6x35vNmlPG6jOwwK-xj4WIt4O6U3l5ua5P5R2eFs71d18vlGSzHJAM8xBpaiPc9HGQ-uXYi1WxwjVAcfI4rzY0YrAqNjFVrWBhBkNSSiDHuueAkdCx1alfXc0gtNgqPZXSaFERsh_89wbwD1BAb1CUb-zyWHvbxnKAmmbIgH2C9H2sB61uzrBhZFNBKQoTx8jZri_NJE0xT8R4fgC5QS_JvvwgqvDhp8vNi5nQ_Ikk2CXeRxwDTQAw4jWlT3ePUybsY0w1nVeWvl7K1PId1J-lL7aaAlLThA",
"iss": "https://pbysidentity.erciyes.edu.tr/"
}.
2024-09-04 04:59:08.007 +03:00 [INF] Executed action Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore) in 80.671ms
2024-09-04 04:59:08.007 +03:00 [INF] Executed endpoint 'Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)'
2024-09-04 04:59:08.008 +03:00 [INF] Request finished HTTP/2 GET https://pbysidentity.erciyes.edu.tr/connect/authorize?client_id=MYKGS_Swagger&redirect_uri=https%3A%2F%2Fmykgsapi.erciyes.edu.tr%2Fsignin-oidc&response_type=code%20id_token&scope=openid%20profile%20roles%20email%20phone%20MYKGS&response_mode=form_post&nonce=638610119479288919.NmIwYjIxMWEtYTFkYi00NjJiLTkzMWItNDc1OTc1NGU1OGQ0ZWYzNDk2NmQtOTUyZC00NzYyLTkxODQtY2U1NmNlMmZkNTBj&state=CfDJ8KduvP9x88xFia4fRoEYie1UJ5TPbakFww6x35vNmlPG6jOwwK-xj4WIt4O6U3l5ua5P5R2eFs71d18vlGSzHJAM8xBpaiPc9HGQ-uXYi1WxwjVAcfI4rzY0YrAqNjFVrWBhBkNSSiDHuueAkdCx1alfXc0gtNgqPZXSaFERsh_89wbwD1BAb1CUb-zyWHvbxnKAmmbIgH2C9H2sB61uzrBhZFNBKQoTx8jZri_NJE0xT8R4fgC5QS_JvvwgqvDhp8vNi5nQ_Ikk2CXeRxwDTQAw4jWlT3ePUybsY0w1nVeWvl7K1PId1J-lL7aaAlLThA&x-client-SKU=ID_NET6_0&x-client-ver=6.21.0.0 - - - 200 2186 text/html;charset=UTF-8 99.1682ms
2024-09-04 04:59:08.035 +03:00 [INF] Request starting HTTP/1.1 POST https://pbysidentity.erciyes.edu.tr/connect/token application/x-www-form-urlencoded 182
2024-09-04 04:59:08.036 +03:00 [INF] The request URI matched a server endpoint: "Token".
2024-09-04 04:59:08.036 +03:00 [INF] The token request was successfully extracted: {
"client_id": "MYKGS_Swagger",
"client_secret": "[redacted]",
"code": "[redacted]",
"grant_type": "authorization_code",
"redirect_uri": "https://mykgsapi.erciyes.edu.tr/signin-oidc"
}.
2024-09-04 04:59:08.053 +03:00 [INF] The token request was successfully validated.
2024-09-04 04:59:08.056 +03:00 [INF] Executing endpoint 'Volo.Abp.OpenIddict.Controllers.TokenController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)'
2024-09-04 04:59:08.056 +03:00 [INF] Route matched with {action = "Handle", controller = "Token", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.IActionResult] HandleAsync() on controller Volo.Abp.OpenIddict.Controllers.TokenController (Volo.Abp.OpenIddict.AspNetCore). 2024-09-04 04:59:08.056 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2024-09-04 04:59:08.065 +03:00 [INF] Executing SignInResult with authentication scheme (OpenIddict.Server.AspNetCore) and the following principal: System.Security.Claims.ClaimsPrincipal. 2024-09-04 04:59:08.083 +03:00 [INF] The token 'af726edf-2d54-76bd-de7b-3a14cceea1be' was successfully marked as redeemed. 2024-09-04 04:59:08.108 +03:00 [INF] The response was successfully returned as a JSON document: { "access_token": "[redacted]", "token_type": "Bearer", "expires_in": 1800, "scope": "openid profile roles email phone MYKGS", "id_token": "[redacted]" }. 2024-09-04 04:59:08.108 +03:00 [INF] Executed action Volo.Abp.OpenIddict.Controllers.TokenController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore) in 52.2398ms 2024-09-04 04:59:08.109 +03:00 [INF] Executed endpoint 'Volo.Abp.OpenIddict.Controllers.TokenController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)' 2024-09-04 04:59:08.125 +03:00 [INF] Request finished HTTP/1.1 POST https://pbysidentity.erciyes.edu.tr/connect/token application/x-www-form-urlencoded 182 - 200 2973 application/json;charset=UTF-8 89.9291ms 2024-09-04 04:59:08.126 +03:00 [INF] Request starting HTTP/1.1 GET https://pbysidentity.erciyes.edu.tr/connect/userinfo - - 2024-09-04 04:59:08.126 +03:00 [INF] The request URI matched a server endpoint: "Userinfo". 2024-09-04 04:59:08.126 +03:00 [INF] The userinfo request was successfully extracted: { "access_token": "[redacted]" }. 2024-09-04 04:59:08.131 +03:00 [INF] The userinfo request was successfully validated. 2024-09-04 04:59:08.135 +03:00 [INF] Executing endpoint 'Volo.Abp.OpenIddict.Controllers.UserInfoController.Userinfo (Volo.Abp.OpenIddict.AspNetCore)' 2024-09-04 04:59:08.135 +03:00 [INF] Route matched with {action = "Userinfo", controller = "UserInfo", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.IActionResult] Userinfo() on controller Volo.Abp.OpenIddict.Controllers.UserInfoController (Volo.Abp.OpenIddict.AspNetCore).
2024-09-04 04:59:08.135 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2024-09-04 04:59:08.151 +03:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.Dictionary2[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'. 2024-09-04 04:59:08.151 +03:00 [INF] Executed action Volo.Abp.OpenIddict.Controllers.UserInfoController.Userinfo (Volo.Abp.OpenIddict.AspNetCore) in 16.1706ms 2024-09-04 04:59:08.151 +03:00 [INF] Executed endpoint 'Volo.Abp.OpenIddict.Controllers.UserInfoController.Userinfo (Volo.Abp.OpenIddict.AspNetCore)' 2024-09-04 04:59:08.151 +03:00 [INF] Request finished HTTP/1.1 GET https://pbysidentity.erciyes.edu.tr/connect/userinfo - - - 200 - application/json;+charset=utf-8 25.7899ms 2024-09-04 04:59:08.174 +03:00 [INF] Request starting HTTP/2 GET https://pbysidentity.erciyes.edu.tr/connect/authorize?client_id=MYKGS_Swagger&redirect_uri=https%3A%2F%2Fmykgsapi.erciyes.edu.tr%2Fsignin-oidc&response_type=code%20id_token&scope=openid%20profile%20roles%20email%20phone%20MYKGS&response_mode=form_post&nonce=638610119481971758.YWY0ZjBmZmQtMWZlNC00ZjAzLTlmZjMtNTQwNTU0OTBlNzJkMGIzMDZkNWItNWI2YS00ZGJmLTkwMzUtOGJmZmIwZjQ4MTUx&state=CfDJ8KduvP9x88xFia4fRoEYie1uo_i7Yr2ZyDVVC7_YH_SRQOTWX4CEcCRlLN5A-Q9f-2mJsfqXX7xiOw5xY8TbDdGAxjDJqxDbf4zKymRa1CUu1240_qIcAufLXrRpFz7M4d4HH1eybXT8gAOGjDiNCxfT8BqKoyky342YQMkGQFpkSjagoOX2VoM4kBNmrymxLjKKjDn7nPqAXb3IFFTvHA4Hi1FNzUajnakUvNRLn7e6Wg9Grf0PVvVzlKT9c3BF5-nRiwrppj7rWfWhydir4Oxou4g_UzhIduB2JB3IXTdPmi1ZLx7kPQ0a-QbUahQGKg&x-client-SKU=ID_NET6_0&x-client-ver=6.21.0.0 - - 2024-09-04 04:59:08.175 +03:00 [INF] The request URI matched a server endpoint: "Authorization". 2024-09-04 04:59:08.176 +03:00 [INF] The authorization request was successfully extracted: { "client_id": "MYKGS_Swagger", "redirect_uri": "https://mykgsapi.erciyes.edu.tr/signin-oidc", "response_type": "code id_token", "scope": "openid profile roles email phone MYKGS", "response_mode": "form_post", "nonce": "638610119481971758.YWY0ZjBmZmQtMWZlNC00ZjAzLTlmZjMtNTQwNTU0OTBlNzJkMGIzMDZkNWItNWI2YS00ZGJmLTkwMzUtOGJmZmIwZjQ4MTUx", "state": "CfDJ8KduvP9x88xFia4fRoEYie1uo_i7Yr2ZyDVVC7_YH_SRQOTWX4CEcCRlLN5A-Q9f-2mJsfqXX7xiOw5xY8TbDdGAxjDJqxDbf4zKymRa1CUu1240_qIcAufLXrRpFz7M4d4HH1eybXT8gAOGjDiNCxfT8BqKoyky342YQMkGQFpkSjagoOX2VoM4kBNmrymxLjKKjDn7nPqAXb3IFFTvHA4Hi1FNzUajnakUvNRLn7e6Wg9Grf0PVvVzlKT9c3BF5-nRiwrppj7rWfWhydir4Oxou4g_UzhIduB2JB3IXTdPmi1ZLx7kPQ0a-QbUahQGKg", "x-client-SKU": "ID_NET6_0", "x-client-ver": "6.21.0.0" }. 2024-09-04 04:59:08.193 +03:00 [INF] The authorization request was successfully validated. 2024-09-04 04:59:08.197 +03:00 [INF] Executing endpoint 'Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)' 2024-09-04 04:59:08.197 +03:00 [INF] Route matched with {action = "Handle", controller = "Authorize", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.IActionResult] HandleAsync() on controller Volo.Abp.OpenIddict.Controllers.AuthorizeController (Volo.Abp.OpenIddict.AspNetCore).
2024-09-04 04:59:08.197 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2024-09-04 04:59:08.234 +03:00 [INF] Executing SignInResult with authentication scheme (OpenIddict.Server.AspNetCore) and the following principal: System.Security.Claims.ClaimsPrincipal.
2024-09-04 04:59:08.282 +03:00 [INF] The authorization response was successfully returned to 'https://mykgsapi.erciyes.edu.tr/signin-oidc' using the form post response mode: {
"code": "[redacted]",
"id_token": "[redacted]",
"state": "CfDJ8KduvP9x88xFia4fRoEYie1uo_i7Yr2ZyDVVC7_YH_SRQOTWX4CEcCRlLN5A-Q9f-2mJsfqXX7xiOw5xY8TbDdGAxjDJqxDbf4zKymRa1CUu1240_qIcAufLXrRpFz7M4d4HH1eybXT8gAOGjDiNCxfT8BqKoyky342YQMkGQFpkSjagoOX2VoM4kBNmrymxLjKKjDn7nPqAXb3IFFTvHA4Hi1FNzUajnakUvNRLn7e6Wg9Grf0PVvVzlKT9c3BF5-nRiwrppj7rWfWhydir4Oxou4g_UzhIduB2JB3IXTdPmi1ZLx7kPQ0a-QbUahQGKg",
"iss": "https://pbysidentity.erciyes.edu.tr/"
}.
2024-09-04 04:59:08.282 +03:00 [INF] Executed action Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore) in 84.8149ms
2024-09-04 04:59:08.282 +03:00 [INF] Executed endpoint 'Volo.Abp.OpenIddict.Controllers.AuthorizeController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)'
2024-09-04 04:59:08.283 +03:00 [INF] Request finished HTTP/2 GET https://pbysidentity.erciyes.edu.tr/connect/authorize?client_id=MYKGS_Swagger&redirect_uri=https%3A%2F%2Fmykgsapi.erciyes.edu.tr%2Fsignin-oidc&response_type=code%20id_token&scope=openid%20profile%20roles%20email%20phone%20MYKGS&response_mode=form_post&nonce=638610119481971758.YWY0ZjBmZmQtMWZlNC00ZjAzLTlmZjMtNTQwNTU0OTBlNzJkMGIzMDZkNWItNWI2YS00ZGJmLTkwMzUtOGJmZmIwZjQ4MTUx&state=CfDJ8KduvP9x88xFia4fRoEYie1uo_i7Yr2ZyDVVC7_YH_SRQOTWX4CEcCRlLN5A-Q9f-2mJsfqXX7xiOw5xY8TbDdGAxjDJqxDbf4zKymRa1CUu1240_qIcAufLXrRpFz7M4d4HH1eybXT8gAOGjDiNCxfT8BqKoyky342YQMkGQFpkSjagoOX2VoM4kBNmrymxLjKKjDn7nPqAXb3IFFTvHA4Hi1FNzUajnakUvNRLn7e6Wg9Grf0PVvVzlKT9c3BF5-nRiwrppj7rWfWhydir4Oxou4g_UzhIduB2JB3IXTdPmi1ZLx7kPQ0a-QbUahQGKg&x-client-SKU=ID_NET6_0&x-client-ver=6.21.0.0 - - - 200 2186 text/html;charset=UTF-8 109.4120ms
2024-09-04 04:59:08.313 +03:00 [INF] Request starting HTTP/1.1 POST https://pbysidentity.erciyes.edu.tr/connect/token application/x-www-form-urlencoded 182
2024-09-04 04:59:08.314 +03:00 [INF] The request URI matched a server endpoint: "Token".
2024-09-04 04:59:08.314 +03:00 [INF] The token request was successfully extracted: {
"client_id": "MYKGS_Swagger",
"client_secret": "[redacted]",
"code": "[redacted]",
"grant_type": "authorization_code",
"redirect_uri": "https://mykgsapi.erciyes.edu.tr/signin-oidc"
}.
2024-09-04 04:59:08.331 +03:00 [INF] The token request was successfully validated.
2024-09-04 04:59:08.333 +03:00 [INF] Executing endpoint 'Volo.Abp.OpenIddict.Controllers.TokenController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)'
2024-09-04 04:59:08.333 +03:00 [INF] Route matched with {action = "Handle", controller = "Token", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.IActionResult] HandleAsync() on controller Volo.Abp.OpenIddict.Controllers.TokenController (Volo.Abp.OpenIddict.AspNetCore). 2024-09-04 04:59:08.333 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy 2024-09-04 04:59:08.343 +03:00 [INF] Executing SignInResult with authentication scheme (OpenIddict.Server.AspNetCore) and the following principal: System.Security.Claims.ClaimsPrincipal. 2024-09-04 04:59:08.360 +03:00 [INF] The token '951a4508-201b-27cf-fb24-3a14cceea2cc' was successfully marked as redeemed. 2024-09-04 04:59:08.383 +03:00 [INF] The response was successfully returned as a JSON document: { "access_token": "[redacted]", "token_type": "Bearer", "expires_in": 1800, "scope": "openid profile roles email phone MYKGS", "id_token": "[redacted]" }. 2024-09-04 04:59:08.384 +03:00 [INF] Executed action Volo.Abp.OpenIddict.Controllers.TokenController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore) in 50.2818ms 2024-09-04 04:59:08.384 +03:00 [INF] Executed endpoint 'Volo.Abp.OpenIddict.Controllers.TokenController.HandleAsync (Volo.Abp.OpenIddict.AspNetCore)' 2024-09-04 04:59:08.398 +03:00 [INF] Request finished HTTP/1.1 POST https://pbysidentity.erciyes.edu.tr/connect/token application/x-www-form-urlencoded 182 - 200 2973 application/json;charset=UTF-8 85.4596ms 2024-09-04 04:59:08.398 +03:00 [INF] Request starting HTTP/1.1 GET https://pbysidentity.erciyes.edu.tr/connect/userinfo - - 2024-09-04 04:59:08.399 +03:00 [INF] The request URI matched a server endpoint: "Userinfo". 2024-09-04 04:59:08.399 +03:00 [INF] The userinfo request was successfully extracted: { "access_token": "[redacted]" }. 2024-09-04 04:59:08.403 +03:00 [INF] The userinfo request was successfully validated. 2024-09-04 04:59:08.406 +03:00 [INF] Executing endpoint 'Volo.Abp.OpenIddict.Controllers.UserInfoController.Userinfo (Volo.Abp.OpenIddict.AspNetCore)' 2024-09-04 04:59:08.406 +03:00 [INF] Route matched with {action = "Userinfo", controller = "UserInfo", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.IActionResult] Userinfo() on controller Volo.Abp.OpenIddict.Controllers.UserInfoController (Volo.Abp.OpenIddict.AspNetCore).
2024-09-04 04:59:08.406 +03:00 [INF] Skipping the execution of current filter as its not the most effective filter implementing the policy Microsoft.AspNetCore.Mvc.ViewFeatures.IAntiforgeryPolicy
2024-09-04 04:59:08.420 +03:00 [INF] Executing OkObjectResult, writing value of type 'System.Collections.Generic.Dictionary`2[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Object, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
2024-09-04 04:59:08.420 +03:00 [INF] Executed action Volo.Abp.OpenIddict.Controllers.UserInfoController.Userinfo (Volo.Abp.OpenIddict.AspNetCore) in 14.4321ms
2024-09-04 04:59:08.420 +03:00 [INF] Executed endpoint 'Volo.Abp.OpenIddict.Controllers.UserInfoController.Userinfo (Volo.Abp.OpenIddict.AspNetCore)'
2024-09-04 04:59:08.421 +03:00 [INF] Request finished HTTP/1.1 GET https://pbysidentity.erciyes.edu.tr/connect/userinfo - - - 200 - application/json;+charset=utf-8 22.2417ms
2024-09-04 04:59:08.457 +03:00 [INF] Request starting HTTP/2 GET https://pbysidentity.erciyes.edu.tr/connect/authorize?client_id=MYKGS_Swagger&redirect_uri=https%3A%2F%2Fmykgsapi.erciyes.edu.tr%2Fsignin-oidc&response_type=code%20id_token&scope=openid%20profile%20roles%20email%20phone%20MYKGS&response_mode=form_post&nonce=638610119484705982.YzZiYmE4OGQtYjIzZS00MDNkLWJmMjctZDI3YTZkZDNkZTAwMDQ5NjhmMmQtYjQ5My00MDRjLTgxNTctZDU1M2E3OWY4ZGNi&state=CfDJ8KduvP9x88xFia4fRoEYie34rdCiHsh0aKpejOOLkh_gKiSMO0YmCmt8OqnsHL_W1NRFgT9gejFK2S35njxh79YGVrDTmGtUvPyh6WouCZaYseaVpfprMhJ91Aw921MzpUY7SJWjQ_WzhkOwNgZuJJhFdNQeTFLi8gjd-nQ6LRa4dWGYJjp_3dhhbt6sdorJY346NvHh8ZrFEbIVfvOs0tR0VmeyUat4WIFctahY0CFvIF8rzDVxSAgPh4d_gMqXLurmzHw-ouJulPOnXt7bKF0dCsq_BIolGFSvOQ72w2alZfFu8XgCbjF3VRAene2oTg&x-client-SKU=ID_NET6_0&x-client-ver=6.21.0.0 - -
2024-09-04 04:59:08.458 +03:00 [INF] The request URI matched a server endpoint: "Authorization".
thanks it worked.