Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "tugrulkarakaya"

do you have tenantId. if yes do not forget setting proper cookie Abp.TenantId = YourTenantId

is there any easy way or documentation or way to upgrade (or change) an existing project from ASP.NET Core on .Netframework 4.6 to .Net Core 2.1 ?

Yes I notice that app brings me to the mydomain.com address but that domain is totally different domain. {subname}.mydomain.com is for clients (for app) mydomain.com is for company not for host tenant. (Null tenant) it seems someone else suffers from the smilar problem; #5482

To sum up; I do not want to use bare domain for host. I need any other sub (does not matter the name) as host because DNS records for mydomain.com and *.mydomain.com are also different . these are out of my control.

I have just managed to login by writing any non-existing subdomain like blabla.mydomain.com/?gotolinkedaccountID (or something lke that) it works manually but it should go with properly or there should be a way to do it? any help or idea?

Hi, How can I login to host accoutn while I set tanants site as subdomains. when I tried to jump from one of tenant by using linked account it brings me to the main site (<a class="postlink" href="http://www.mydomain.com">www.mydomain.com</a>) not host.mydomain or etc. so it seems I can not login to host at that case? urgent problem. thx.

Answer

it is resolved somehow. I do not know to reason but issue is not valid anymore.

Question

Hi,

User has all rights on Host. An API (PUT) requires a special permission which user also has this permission) is not called by the client and return HTTP 405 .

This is the AppService I'd like to call [AbpAuthorize(AppPermissions.ApiClient_WhatsappChannel_Edit)] public async Task UpdateIId(UpdateIIDWhatsappChannelDto input) { ... } if I remove Authorization Attribute it is called succesfully. But user has that permisson. see records got from system;

{
    "result": {
        "permissions": [
            {
                "parentName": "Pages",
                "name": "Pages.Administration",
                "displayName": "Administration",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.AuditLogs",
                "displayName": "Audit logs",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Tenants",
                "name": "Pages.Tenants.ChangeFeatures",
                "displayName": "Changing features",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Users",
                "name": "Pages.Administration.Users.ChangePermissions",
                "displayName": "Changing permissions",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Languages",
                "name": "Pages.Administration.Languages.ChangeTexts",
                "displayName": "Changing texts",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": null,
                "name": "ApiClient",
                "displayName": "Client",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Labels",
                "name": "Pages.Labels.Create",
                "displayName": "Create new label",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.SmartMessages",
                "name": "Pages.SmartMessages.Create",
                "displayName": "Create new smart message",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Subscribers",
                "name": "Pages.Subscribers.Create",
                "displayName": "Create new subscriber",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.SubscriberLabels",
                "name": "Pages.SubscriberLabels.Create",
                "displayName": "Create new subscriber label",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappChannels",
                "name": "Pages.WhatsappChannels.Create",
                "displayName": "Create new whatsapp channel",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappMessages",
                "name": "Pages.WhatsappMessages.Create",
                "displayName": "Create new whatsapp message",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Editions",
                "name": "Pages.Editions.Create",
                "displayName": "Creating new edition",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Languages",
                "name": "Pages.Administration.Languages.Create",
                "displayName": "Creating new language",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Roles",
                "name": "Pages.Administration.Roles.Create",
                "displayName": "Creating new role",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Tenants",
                "name": "Pages.Tenants.Create",
                "displayName": "Creating new tenant",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Users",
                "name": "Pages.Administration.Users.Create",
                "displayName": "Creating new user",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.Host.Dashboard",
                "displayName": "Dashboard",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Labels",
                "name": "Pages.Labels.Delete",
                "displayName": "Delete label",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.SmartMessages",
                "name": "Pages.SmartMessages.Delete",
                "displayName": "Delete smart message",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Subscribers",
                "name": "Pages.Subscribers.Delete",
                "displayName": "Delete subscriber",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.SubscriberLabels",
                "name": "Pages.SubscriberLabels.Delete",
                "displayName": "Delete subscriber label",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappChannels",
                "name": "Pages.WhatsappChannels.Delete",
                "displayName": "Delete whatsapp channel",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappMessages",
                "name": "Pages.WhatsappMessages.Delete",
                "displayName": "Delete whatsapp message",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Editions",
                "name": "Pages.Editions.Delete",
                "displayName": "Deleting edition",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Languages",
                "name": "Pages.Administration.Languages.Delete",
                "displayName": "Deleting language",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Roles",
                "name": "Pages.Administration.Roles.Delete",
                "displayName": "Deleting role",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Tenants",
                "name": "Pages.Tenants.Delete",
                "displayName": "Deleting tenant",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Users",
                "name": "Pages.Administration.Users.Delete",
                "displayName": "Deleting user",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.DemoUiComponents",
                "displayName": "Demo UI Components",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Labels",
                "name": "Pages.Labels.Edit",
                "displayName": "Edit label",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.SmartMessages",
                "name": "Pages.SmartMessages.Edit",
                "displayName": "Edit smart message",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Subscribers",
                "name": "Pages.Subscribers.Edit",
                "displayName": "Edit subscriber",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.SubscriberLabels",
                "name": "Pages.SubscriberLabels.Edit",
                "displayName": "Edit subscriber label",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappChannels",
                "name": "Pages.WhatsappChannels.Edit",
                "displayName": "Edit whatsapp channel",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "ApiClient.WhatsappChannel",
                "name": "ApiClient.WhatsappChannel.Edit",
                "displayName": "Edit whatsapp channel",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappMessages",
                "name": "Pages.WhatsappMessages.Edit",
                "displayName": "Edit whatsapp message",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "ApiClient.WhatsappMessages",
                "name": "ApiClient.WhatsappMessages.Edit",
                "displayName": "Edit whatsapp message",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Editions",
                "name": "Pages.Editions.Edit",
                "displayName": "Editing edition",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Languages",
                "name": "Pages.Administration.Languages.Edit",
                "displayName": "Editing language",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Roles",
                "name": "Pages.Administration.Roles.Edit",
                "displayName": "Editing role",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Tenants",
                "name": "Pages.Tenants.Edit",
                "displayName": "Editing tenant",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Users",
                "name": "Pages.Administration.Users.Edit",
                "displayName": "Editing user",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.Editions",
                "displayName": "Editions",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.HangfireDashboard",
                "displayName": "Hangfire dashboard",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.Labels",
                "displayName": "Labels",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.Languages",
                "displayName": "Languages",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Tenants",
                "name": "Pages.Tenants.Impersonation",
                "displayName": "Login for tenants",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.Users",
                "name": "Pages.Administration.Users.Impersonation",
                "displayName": "Login for users",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.Host.Maintenance",
                "displayName": "Maintenance",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.OrganizationUnits",
                "name": "Pages.Administration.OrganizationUnits.ManageMembers",
                "displayName": "Managing members",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration.OrganizationUnits",
                "name": "Pages.Administration.OrganizationUnits.ManageOrganizationTree",
                "displayName": "Managing organization tree",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.OrganizationUnits",
                "displayName": "Organization Units",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": null,
                "name": "Pages",
                "displayName": "Pages",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.Roles",
                "displayName": "Roles",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappMessages",
                "name": "Pages.WhatsappMessages.SendIndividualMessage",
                "displayName": "Send individual message",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappMessages",
                "name": "Pages.WhatsappMessages.SendToLabel",
                "displayName": "Send message to subscriber assigned to a label",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.WhatsappMessages",
                "name": "Pages.WhatsappMessages.SendToAll",
                "displayName": "Send messageto all subscriber",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.Host.Settings",
                "displayName": "Settings",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.SmartMessages",
                "displayName": "Smart messages",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.SubscriberLabels",
                "displayName": "Subscriber labels",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.Subscribers",
                "displayName": "Subscribers",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.Tenants",
                "displayName": "Tenants",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.Users",
                "displayName": "Users",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages.Administration",
                "name": "Pages.Administration.UiCustomization",
                "displayName": "Visual Settings",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.WhatsappChannels",
                "displayName": "Whatsapp channels",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "ApiClient",
                "name": "ApiClient.WhatsappChannel",
                "displayName": "Whatsapp channels",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "Pages",
                "name": "Pages.WhatsappMessages",
                "displayName": "Whatsapp messages",
                "description": null,
                "isGrantedByDefault": false
            },
            {
                "parentName": "ApiClient",
                "name": "ApiClient.WhatsappMessages",
                "displayName": "Whatsapp messages",
                "description": null,
                "isGrantedByDefault": false
            }
        ],
        "grantedPermissionNames": [
            "Pages",
            "ApiClient",
            "Pages.Labels",
            "Pages.Labels.Create",
            "Pages.Labels.Edit",
            "Pages.Labels.Delete",
            "Pages.WhatsappMessages",
            "Pages.WhatsappMessages.Create",
            "Pages.WhatsappMessages.Edit",
            "Pages.WhatsappMessages.Delete",
            "Pages.WhatsappMessages.SendIndividualMessage",
            "Pages.WhatsappMessages.SendToAll",
            "Pages.WhatsappMessages.SendToLabel",
            "Pages.SubscriberLabels",
            "Pages.SubscriberLabels.Create",
            "Pages.SubscriberLabels.Edit",
            "Pages.SubscriberLabels.Delete",
            "Pages.SmartMessages",
            "Pages.SmartMessages.Create",
            "Pages.SmartMessages.Edit",
            "Pages.SmartMessages.Delete",
            "Pages.Subscribers",
            "Pages.Subscribers.Create",
            "Pages.Subscribers.Edit",
            "Pages.Subscribers.Delete",
            "Pages.WhatsappChannels",
            "Pages.WhatsappChannels.Create",
            "Pages.WhatsappChannels.Edit",
            "Pages.WhatsappChannels.Delete",
            "Pages.DemoUiComponents",
            "Pages.Administration",
            "Pages.Administration.Roles",
            "Pages.Administration.Roles.Create",
            "Pages.Administration.Roles.Edit",
            "Pages.Administration.Roles.Delete",
            "Pages.Administration.Users",
            "Pages.Administration.Users.Create",
            "Pages.Administration.Users.Edit",
            "Pages.Administration.Users.Delete",
            "Pages.Administration.Users.ChangePermissions",
            "Pages.Administration.Users.Impersonation",
            "Pages.Administration.Languages",
            "Pages.Administration.Languages.Create",
            "Pages.Administration.Languages.Edit",
            "Pages.Administration.Languages.Delete",
            "Pages.Administration.Languages.ChangeTexts",
            "Pages.Administration.AuditLogs",
            "Pages.Administration.OrganizationUnits",
            "Pages.Administration.OrganizationUnits.ManageOrganizationTree",
            "Pages.Administration.OrganizationUnits.ManageMembers",
            "Pages.Administration.UiCustomization",
            "Pages.Administration.Host.Settings",
            "Pages.Administration.Host.Maintenance",
            "Pages.Administration.HangfireDashboard",
            "Pages.Administration.Host.Dashboard",
            "Pages.Editions",
            "Pages.Editions.Create",
            "Pages.Editions.Edit",
            "Pages.Editions.Delete",
            "Pages.Tenants",
            "Pages.Tenants.Create",
            "Pages.Tenants.Edit",
            "Pages.Tenants.ChangeFeatures",
            "Pages.Tenants.Delete",
            "Pages.Tenants.Impersonation",
            "ApiClient.WhatsappChannel",
            "ApiClient.WhatsappChannel.Edit",
            "ApiClient.WhatsappMessages",
            "ApiClient.WhatsappMessages.Edit"
        ]
    },
    "targetUrl": null,
    "success": true,
    "error": null,
    "unAuthorizedRequest": false,
    "__abp": true
}

any implementation like explained at <a class="postlink" href="https://damienbod.com/2017/12/30/using-an-ef-core-database-for-the-identityserver4-configuration-data/">https://damienbod.com/2017/12/30/using- ... tion-data/</a> this seems a full implementation but I need just to save client info to db.

regards, Tugrul

Hi, I have implemented Identity Server at my project. is there any document or how-to's on aspnet zero showing persisting client names and password on db instead of defining in the config file.

"ClientId": "client1", "AllowedGrantTypes": [ "password", "client_credentials", "refresh_token" ], "ClientSecrets": [ { "Value": "11112234-f4a3-4edc-d8ea-32132cb40e13" } ],

I think I have found a solution for this scenario, I need to authorize client with user password not client password. I mean not with this (<a class="postlink" href="http://docs.identityserver.io/en/release/quickstarts/1_client_credentials.html">http://docs.identityserver.io/en/releas ... tials.html</a>)I need to authorize with <a class="postlink" href="http://docs.identityserver.io/en/release/quickstarts/2_resource_owner_passwords.html">http://docs.identityserver.io/en/releas ... words.html</a> (resource owner not client)

So I'll define an API user on Host (not on a tenant) and I'll set tenant during operation by requirement)

Showing 21 to 30 of 36 entries