Starts in:
0 DAY
14 HRS
11 MIN
51 SEC
Starts in:
0 D
14 H
11 M
51 S

Activities of "liangshiwei"

Hi,

The Angular login page is not supported for external login support, so you have to redirect to the IdentityServer first.

Hi,

Actually, this is a feature : https://github.com/abpframework/abp/issues/19488

https://github.com/abpframework/abp/pull/19489/files

When current access_token has been changed, it will reload the page to get the new configuration, settings etc...

Hi,

CreatorId is obtained from the CurrentUser.

You can see the logic here https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Auditing/Volo/Abp/Auditing/AuditPropertySetter.cs#L65

In my environment, there is a CreatorName field that receives the value sent from the client. Even though CreatorName is not null, CreatorId is null.

As far as I know, there is no CreatorName

Hi,

Because your previous question was closed and has not been resolved, I have returned your ticket.

Hi,

Okay, If so, it's a network problem; the requests are not even sent to the backend.

this is happening every time during the initial registration. Lets say, you have USER100, it will say USER100 is duplicate because the migration are running twice.

Okay, I got it. I think you should remove your migration code here. ABP will automatically migrate data.

  • Remove MigrateAndSeedTenantDatabaseAsync and AssignPermissionsToAdminRoleAsync
  • Add a new DataSeedContributor to assign roles&permissions for users

https://abp.io/docs/latest/framework/infrastructure/data-seeding

Hi,

Is there any error message?

Hi,

The image just an example, should be .Blazor project for your case

Hi,

I'm using app-pro template, so probably the code that you provided won't work to hide the tenant field on login page?

It can hide the tenant field; you can give it a try.

As I previously mentioned I'm using code below to correctly redirect user from portal to the auth server. PortalBlazorModule.cs

It works only when you are already on the login page and you modify the URL but when you are redirected from the portal page then it doesn't work for host (empty tenant).

You can try this

app.Use(async (httpContext, next) =>
{
    if (httpContext.Request.Path.StartsWithSegments("/Account/Login"))
    {
        var returnUrl = httpContext.Request.Query["ReturnUrl"].ToString();
        if(returnUrl.Contains("__tenant"))
        {
            var tenant = returnUrl.Split("__tenant=")[1].Split("&")[0];
            var queryBuilder = new QueryBuilder();
            foreach (var key in httpContext.Request.Query.Keys)
            {
                queryBuilder.Add(key, httpContext.Request.Query[key].ToString());
            }
            queryBuilder.Add("__tenant", tenant);
            httpContext.Request.QueryString = queryBuilder.ToQueryString();
        }
    }
    await next();
});

about the authority, I want to bind it when I call service to get data from database then binding it.

First, the Options'authority URL must be reachable, don't use placeholder. Then you can change it in the event.

I don't know why I cannot show the custom field on openiddictapplication. I already followed the guide and I still not able to display the custom field on UI.

Could you share a test project with me? i will check it. shiwei.liang@volosoft.com

Showing 81 to 90 of 6105 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06