Activities of "jeffbuot14@gmail.com"

  • ABP Framework version: v5.3.3
  • UI type: Blazor
  • DB provider:MongoDB

I have a microservice backend and WPF as client application. I'm using client proxy for fetching data from backend, my concern is sometimes I'm struggling to find the existing ClientProxies and finding the permissions definition for template services.

  • Are there a list of predefined clientproxies for me to have a CRUD for administration area like roles,users, audit logs
  • Are there a list of predefined constant string variable for policy names? If so what are the right class or property I should call? Is there a list? (I know that you can get policy names from swagger abpappconfiguration)
  • IAuthorizationService is always returning false even if the current logged user is admin
[DependsOn(typeof(AdministrationServiceHttpApiClientModule))]
public class AdministrationServiceWpfModule : AbpModule{
...
}
...
var auth = ServiceCollection.GetRequiredService<IAuthorizationService>();
var result = await  auth.IsGrantedAsync("AbpIdentity.Users");
//result is always false

https://support.abp.io/QA/Questions/3192/Does-ABP-support-multi-factor-authentication-eg-Duo-Google-Authenticator-OTP-etc

Grateful if you can assist as commercial we need to implement support with the identify provider to use SMAL2 functionality for the likes of Cisco Duo & Azure etc if this not in scope for the old framework are we missing something? (Seeking your guidance) or is this something we can purchase as an enhancement with Abp for openiddict?

Hi,

It think it's not yet but trying to find way if we can use the SAML2P IdP of DUO SSO as external or other identity source. It's like users have to choose either they want to be authenticated from abp's default auth or authenticate externally to DUO SSO. Set openiddict as the main authentication, so I believe we need the openiddict to communicate with DUO saml assertions and trust the source for the client to access the api resource.

  • ABP Framework version: v6.0
  • UI type: Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Since the update 6.0 has the IdS replaced with the OpenIddict, I've been thinking how can I use it as a SAML2 Identity Provider since a client required us to use the DUO Single Sign-On and we were about to use the ABP's identity provider as an identity source for DUO SSO. Found this issue that OpenIddict can't be integrated in a SAML2P env but that was 6 years ago and hoping it won't be a case today since OpenIddict has updates (fingers crossed). We are migrating our existing projects to OpenIddict since IdS will end it's open-source support this year. I'm wondering if there is a way we can get out from this dilemma.

Hi,

Thank you, I haven't noticed that!

Hi,

It looks like no problem, Can you share a project with me or full steps to reproduce? shiwei.liang@volosoft.com I will check it out.

I invited you to a private github repository.

Sure, it's just the one from the template it wasn't modified.

using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp;
using Volo.Abp.Application.Dtos;

namespace CMVPoint.ProductService.Products;

[RemoteService(Name = ProductServiceRemoteServiceConsts.RemoteServiceName)]
[Area("productService")]
[Route("api/product-service/products")]
public class ProductController : ProductServiceController, IProductAppService
{
    private readonly IProductAppService _productAppService;

    public ProductController(IProductAppService productAppService)
    {
        _productAppService = productAppService;
    }

    [HttpGet]
    public virtual Task<PagedResultDto<ProductDto>> GetListAsync(GetProductsInput input)
    {
        return _productAppService.GetListAsync(input);
    }

    [HttpGet]
    [Route("{id}")]
    public virtual Task<ProductDto> GetAsync(Guid id)
    {
        return _productAppService.GetAsync(id);
    }

    [HttpPost]
    public virtual Task<ProductDto> CreateAsync(ProductCreateDto input)
    {
        return _productAppService.CreateAsync(input);
    }

    [HttpPut]
    [Route("{id}")]
    public virtual Task<ProductDto> UpdateAsync(Guid id, ProductUpdateDto input)
    {
        return _productAppService.UpdateAsync(id, input);
    }

    [HttpDelete]
    [Route("{id}")]
    public virtual Task DeleteAsync(Guid id)
    {
        return _productAppService.DeleteAsync(id);
    }
}

  • ABP Framework version: v5.3.2
  • UI type: Blazor
  • Project type: Abp Microservice Template
  • DB provider: MongoDB
  • Steps to reproduce the issue: https://www.screencast.com/t/WoXNKgBLfn

Hi, I have attached a link for screencast recording to reproduce the issue. It's weird why updating the Product entity the other properties becomes null. Can anyone explain why it behaves this way and how can I resolve this issue?

Hi, Thanks I got it.

Showing 31 to 40 of 57 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54