Activities of "sergei.gorlovetsky@gmail.com"

Hello,

add-module command adds the module in main solution, we have angular front end and Identity in MVC as seperate project. So how we can add cms-kit module in Identity application?

Can you please let us know how and which CMS modules references we need to add step by step in Identity server and how to enable all feautres of cms-kit?

Ok, so here is what we have done

  1. Added below nugget packages in Identity server.

  2. Did below changes in Identity server module

  3. Configured RemoteServices in appsettings.json in Identity server

After these steps run Identity server, we can see the cms-kit module menu and trying to open Pages, the page is opening but when making call to API to get page records getting Unauthorized error.

Ok we have added the cms-kit as module in Identity application and set remote service url same as Identity url but it gives following error

Authorization failed. These requirements were not met: PermissionRequirement: CmsKit.Pages AuthenticationScheme: Identity.Application was challenged. ---------- RemoteServiceErrorInfo ---------- { "code": "Unauthorized", "message": "Unauthorized", "details": null, "data": null, "validationErrors": null }

We have check the permissions of cms-kit module and all permissions are already set for the user. Can you please help to resolve the issue?

Hi maliming, this proposed code change 7783 didn't work. I still need to manually add the redirect url at the database. Is some config needed?

Thank you Mehmet! A passed a __tenant parameter and this solved the proposed issue.

I couldn't make your suggestion work.

The only way I was able to get rid of the exception and login into the ui by setting the ValidateIssuer to false as in https://github.com/abpframework/abp/issues/3304#issuecomment-609030329 but this is just a work-around as it may raise some security issues.

Regarding the RedirectUris, how can I have them defined dynamically? As I mentioned earlier I set 'subdomain.domain.com' as a redirect uri for the 'ClientelePortal_App' client directly on the database.

Showing 1 to 7 of 7 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11