When I navigate between different pages using the sidebar, the cookie seems to be ignored. However, when I refresh the page in the browser, the cookie is correctly validated, and I am logged out. Is there a simple way to always check the cookie, even when navigating via the sidebar?
Feature did work but some documentation was missing. GitHub Issue: https://github.com/abpframework/abp/issues/22970
Hello, I would like to know the concrete steps for implementing a session timeout using Azure AD in ABP. Because once we are logged in there is no timeout when the user has to log in again. Specifically, I want the user session to expire after 24 hours. We are not using app.UseDynamicClaims(); Thanks in advance!
This code is in my blazor module in the method PreConfigureServices:
if (!hostingEnvironment.IsDevelopment)
{
PreConfigure<AbpOpenIddictAspNetCoreOptions>(options =>
{
options.AddDevelopmentEncryptionAndSigningCertificate = false;
});
PreConfigure<OpenIddictServerBuilder>(serverBuilder =>
{
serverBuilder.AddProductionEncryptionAndSigningCertificate("openiddict.pfx", "...");
});
}
Configure auth method
var authenticationBuilder = context.Services.AddAuthentication();
authenticationBuilder.AddOpenIdConnect(
authenticationScheme: "AzureOpenId",
displayName: "...",
configureOptions: options =>
{
options.Authority = $"https://login.microsoftonline.com/{azTenantId}/v2.0/";
options.ClientId = "MyEntraId";
options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
options.CallbackPath = "MyCallBack";
options.ClientSecret = "MySecreat";
options.RequireHttpsMetadata = false;
options.SaveTokens = true;
options.GetClaimsFromUserInfoEndpoint = true;
options.ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "sub");
});
The scripts which are added are the following:
<script src="/_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/abp.js"></script> <script src="/_content/Volo.Abp.AspNetCore.Components.Web/libs/abp/js/authentication-state-listener.js"> </script><script src="/_content/Volo.Abp.Account.Pro.Public.Blazor.Shared/IdleTracker.js"></script> <script src="/_content/Volo.Saas.Host.Blazor/libs/chart/chart.min.js"></script> <script src="/_content/Volo.Abp.AuditLogging.Blazor/libs/chart/chart.min.js"></script> <script src="/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/libs/bootstrap/js/bootstrap.bundle.min.js"></script> <script src="/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/libs/jquery/jquery.min.js"></script> <script src="/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/libs/bootstrap-datepicker/js/bootstrap-datepicker.min.js"></script> <script src="/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/side-menu/js/lepton-x.bundle.min.js"></script> <script src="/_content/Volo.Abp.AspNetCore.Components.Server.LeptonXTheme/scripts/leptonx-blazor-compatibility.js"></script> <script src="/_content/Volo.Abp.AspNetCore.Components.Web.LeptonXTheme/scripts/global.js"></Scrip> <script src="_framework/blazor.web.js"></script> <script src="/_framework/aspnetcore-browser-refresh.js"></script></body></html><
So there might be the /Idle/Default.js missing.
What is the easiest way to check if persistent login is enabled?
Yes I am 100% not triggering something on the side with my mouse. Some background jobs are running but I don't think they matter to JS. The idle timer settings are working completly on his own or? Because we got settings defintions too. Is there somewhere a demo side with working idle online?
Hello, I want to try out the new feature Idle Session Timeout. It is activated in the UI, I can see the JS loaded in the browser and I can see it also in the setting management tables. I can see in the application logs every few minutes query to ask the idle times. We are also using app.MapAbpStaticAssets(); Do you got any idea what the problem could be because the popup is not showing up and I am not logged out.
I run abp install-libs again and now my icons and the red cross is back. But the 2nd point is still open. I am using lepton X theme and I want to remove the default heading from the PageHeader component. I have already tried the following but he keeps ignoring it: (In my blazor module) https://abp.io/docs/latest/framework/ui/blazor/page-header
Hello, I upgraded my ABP-Solution from .NET8 to .NET9. I followed the official upgrade guide: https://abp.io/docs/9.0/release-info/migration-guides/abp-9-0 Now I am facing two problems:
Since I upgraded my version, the red cross in the error box disappeared. Is this intended, or did I miss something? I have already run the command abp install-libs https://abp.io/docs/latest/framework/ui/blazor/error-handling?UI=Blazor
The headings keep displayed on other sides when I visited one of your modules. How can I remove this behaviour?
In addition it would be cool to know how i can remove the entire heading.
In your modules (like SaaS) I am missing the filter icon. Did I forget to update smth?
Thank you for your help!