Activities of "hungvt"

  • ABP Framework version: v3.3
  • UI type: Angular
  • DB provider: EF Core (MySQL)
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Hi Team, api /connect/token slow. How to optimize this.

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

Thanks team! Solved

Hi @maliming please give me the link! Thank!

Hi albert I can't access the link :https://support.aspnetzero.com/QA/Questions/9809/How-do-I-implement-logout-all-client-with-Identity-Server-4#answer-7d351498-32de-92e6-a92b-39f8bf30a871 Can you guide me in detail here? Thank!

  • ABP Framework version: v3.2
  • UI type: Angular
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:
  • I used Keycloak with SSO, code as:
        {
            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");
                });
        }
  • I custom file LoggedOutModel
 [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("/");
        }
    }
  • When click logout button in Angular UI then not logout in page Keycloak:
  • I want when log out in Angular UI then also log out in page Keycloak.
  • Thank!

Hi team, I want to add custom captcha as image into login page Please show me how to do it! Thank!

  • ABP Framework version: v3.2.0
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Thank, How to replace the UnitOfWorkMongoDbContextProvider class?

  • ABP Framework version: v3.2.0 I used UnitOfWorkTransactionBehavior.Disabled for mongoDb project, then UnitOfWorkTransactionBehavior of mysql as disable. How to disable only Mongo project. Configure<AbpUnitOfWorkDefaultOptions>(options => { options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled; }); Thank!

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.

  • ABP Framework version: v3.1.2
  • UI type: Angular Hi team, I using IIdentityUserAppService to call function CreateAsync. How to AllowAnonymous Authorize for Authorize IIdentityUserAppService Thank
Showing 1 to 10 of 18 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09