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

Activities of "tugrulkarakaya"

https://support.aspnetzero.com/QA/Questions/5678 This entity is closed but Even if I have added to module it is still does not work!

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 ?

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.

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
}

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 enabled IdentityServer and an defined an api Client.

I need to call an api requiring some AbpAuthorize with a client authorized with identityserver client. (Api require a specific role but client just have a client api permission) Client does not have user permission. client is just authorized with client password. Do I need specific API for this purposes or is it possible to execute call with client permission. (if a client is authorised for that client and I do not want to check other authorizations but angular client is needed to be authorized. is it possible to implement a scenario that Angular client is validated with given permission but API client is not needed to be validated)

Forexample how to call an API requiring auth as below from client (not form angular from a client authorized with identityserver clientpassword); "[AbpAuthorize(AppPermissions.Pages_SomeFunction)]"

I have enabled Identityserver on config json.

Swagger UI could not load API definition. with the error "Failed to load API definition. Internal Server Error /swagger/v1/swagger.json"

please find log details below. I have found some questions on the forum but the link provided in the answer is broken. thanks for your help.

System.InvalidOperationException: You must either set Authority or IntrospectionEndpoint at Microsoft.AspNetCore.Builder.OAuth2IntrospectionOptions.Validate() at IdentityModel.AspNetCore.OAuth2Introspection.PostConfigureOAuth2IntrospectionOptions.PostConfigure(String name, OAuth2IntrospectionOptions options)

Showing 11 to 17 of 17 entries