ABP Framework version: v4.3.2 UI type: Angular DB provider: EF Core (MySql) Tiered (MVC) or Identity Server Separated (Angular): yes
An exception occurred while iterating over the results of a query for context type 'Volo.Abp.IdentityServer.EntityFrameworkCore.IdentityServerDbContext'. [IdentityServer] MySql.Data.MySqlClient.MySqlException : The table '(temporary)' is full When access link: https://localhost:44332/connect/authorize?response_type=code&client_id=newPMS_App&state=TkpJcjZzcXoyN1JsWHlfM3ZIQnR-M1lBdE5CVFlRRkp3Y2Nwa2FlUm5OflFm&redirect_uri=http%3A%2F%2Flocalhost%3A4200&scope=openid%20offline_access%20newPMS&code_challenge=RgJ2wR-nIArtgvF98IBaU8YWp8HaJUoLjXdSjoOD0t0&code_challenge_method=S256&nonce=TkpJcjZzcXoyN1JsWHlfM3ZIQnR-M1lBdE5CVFlRRkp3Y2Nwa2FlUm5OflFm
{
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Clear();
JwtSecurityTokenHandler.DefaultInboundClaimTypeMap.Add("sub", ClaimTypes.NameIdentifier);
context.Services.AddAuthentication()
.AddIdentityServerAuthentication(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = false;
options.ApiName = "newPMS";
options.JwtBackChannelHandler = new HttpClientHandler()
{
ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator
};
})
.AddOpenIdConnect("KeyCloakOpenId", "Ord key cloak", options =>
{
// options.SignInScheme = IdentityConstants.ExternalScheme;
options.Authority = configuration["Authentication:KeyCloak:Authority"];
options.ClientId = configuration["Authentication:KeyCloak:ClientId"];
options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
options.CallbackPath = "/signin-oidc";
options.SignedOutRedirectUri = configuration["App:SelfUrl"];
options.ClientSecret = configuration["Authentication:KeyCloak:ClientSecret"];
options.RequireHttpsMetadata = false;
options.GetClaimsFromUserInfoEndpoint = true;
options.SaveTokens = true;
options.Scope.Add("offline_access email");
});
}
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(LoggedOutModel))]
public class CustomLogoutModel : LoggedOutModel
{
private readonly IConfiguration _configuration;
public CustomLogoutModel(IConfiguration configuration)
{
_configuration = configuration;
}
public override async Task<IActionResult> OnGetAsync()
{
await HttpContext.SignOutAsync("KeyCloakOpenId", new AuthenticationProperties()
{
RedirectUri = "/"
});
await base.OnGetAsync();
return Redirect("/");
}
}
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
Caching in "aspnetboilerplate" can group many key cache as a group (https://aspnetboilerplate.com/Pages/Documents/Caching)
Let me ask : Caching in "Abp.IO" how to group many cache as a group?
Hi team, When i logout in angular, i using token copy from access_token in Local Storage to call api service by Postman. Reponse status is 200. How to prevent using access_token reuse when logouted? (Return 401) Thank!