Questions | Support Center (2024)

  • DefaultTokenService ui-blazor db-efcore tiered assigned to maliming hihttps://docs.abp.io/en/abp/latest/Modules/OpenIddict#updating-claims-in-access_token-and-id_token I need to alter/add claims to token even in the refresh_token flow. Folowed the steps in the document; https://docs.abp.io/en/abp/latest/Authorization#claims-principal-factory Here is the CoMedClaimsPrincipalContributor.cs used in test;```csharpusing System.Threading.Tasks; open \apps\auth-server\CoMed.AuthServer.sln in visual studioadd CoMedClaimsPrincipalContributor.cs file * **ABP Framework version:** v6.0.0* **UI type**: Blazor* **DB provider**: EF Core* **Tiered (MVC I used to override that class in AuthServer project and add some dynamic claims to token. #3938 closed one year ago by mgurer 0 17
  • Authorization, Roles and Permission issue with (Roles + User) level combined permissions. @liangshiwei,Sorry but replicating the architecture will be time taking and we need to resolve it in But still in log.txt I am getting below mentioned logs :`[DBG] Not found in the cache: pn:C,pk:Litmus_App I have a module which I refrence in my Host Monolith. true in my PermissionGrantRepository output,But still I am getting Authorization error. For Role supplier, I can find data in Redis.Studio but not able to find in log's * **ABP Framework version:** v3.0.4* **UI type**: Angular* **DB provider**: EF Core* **Tiered (MVC Anchor in which I have created few policies as below1. Supplier2. Supplier.Create3. )]`**My Issue :**In both case 1 and case 2 because of the authorize annotation placed on my method Given policy has not granted```But on my browsers if I check in network I am getting proper data for In case you need more details for understanding, Please do ask.Thanks #1142 closed 3 years ago by lalitChougule 0 17
  • Identity Server timeout error when trying to login with external authentication provider assigned to gterdem This is the client configuration in Identity Server A:**Callback:**! returned result Microsoft.AspNetCore.Mvc.ChallengeResult.[00:41:39 INF] Executing ChallengeResult with authentication methods and found the root caue, the loginInfo is returned null if I login with the Identity Server A as authentication /Login"); }```I have added Google authentication provider to check, it was able to retrieve GetExternalLoginInfoAsync](https://github.com/dotnet/aspnetcore/blob/c56aa320c32ee5429d60647782c91d53ac765865/src/Identity/Core user from application A can login into application B, so I have created client id and client secret in Identity Server A and added Identity Server A as external authentication provider in Identity Server RoleClaimType = "role" }; })```the login option is shown in #695 closed 3 years ago by nhontran 0 17
  • Linked Account modal is too slow assigned to maliming hi @enes,in our tests, it loads very fast. but as I see, your DB fetch is much slower than our tests In the meantime you can rebuild your DB indices or add missing indices see https://blog.sqlauthority.com IdentityUserRepository.GetQueryableAsync()) .Where(p => userGroup.Select(p => p.TargetUserId).Contains(p.Id)).ToList();```**In allLinkUsers.Select(p => p.TargetUserId).Contains(p.Id)).ToList(); //added} //addedforeach (var userGroup in userGroup.Select(p => p.TargetUserId).Contains(p.Id)).ToList(); //added foreach (var user in * **ABP Framework version:** v5.3.3* **UI type**: Angular* **DB provider**: EF Core* **Tiered ( #4568 closed one year ago by ServiceBot Support Team Automatic process manager 1 17
  • How to add encryption key in OpenIdDict JWKS URL? assigned to maliming I find this is supported by OpenIddict in their documentation:```Encryption and signing credentials https://github.com/openiddict/openiddict-core/blob/dev/src/OpenIddict.Server/OpenIddictServerHandlers.Discovery.cs Hi, our application needs to expose an encryption key in JWKS URL for the other party using it to encrypt their data before returning to us, and we have implemented it in IdentityServer, below is how the JWKS OIgBQXQFSdvmnOFa59MTQyHhyy6t17yNIbbOFKJdQTw", "crv": "P-256" } ]}```I tried the code below, but it did not succeed in #4679 closed one year ago by ServiceBot Support Team Automatic process manager 0 17
  • Use HangFire with AbpHangfireAuthorizationFilter throw HTTP ERROR 401 assigned to berkansasmaz app.UseAbpSwaggerUI(options => { options.SwaggerEndpoint("/swagger/v1/swagger.json", "Admin API app.UseAbpSwaggerUI(options => { options.SwaggerEndpoint("/swagger/v1/swagger.json", "Admin API I logged in using the swagger's built-in function here ! [image.png](/QA/files/3a09f2b117d7b35a2aacb9e3f743cc4a.png)And when checking the Authentication server's page, it does show me as logged in. Hello,Our project structure is mentioned in this ticket : https://support.abp.io/QA/Questions/4663 #answer-3a09d256-58d0-4c55-dc67-7e989f693fb3We tried to add Hangfire in Admin part of the project (/QA/files/3a09dcea212d6a22dabfc2bfeb2cbff6.png)The Admin.HangFire pemrission is well defined in [image.png](/QA/files/3a09dcecf41ff742ab7b420d7e695cde.png)And in the swagger logs :! ABP Framework version: v7.0.0UI type: Angular and Blazor (not relevant here)DB provider: EF Core #4683 closed one year ago by berkansasmaz Support Team .NET Developer 0 17
  • Client_id permissions assigned to maliming project, client_id="public", to users belonging to role 'A', but block these users trying to access from 'web Hi,I would that the user with role A can't Login from Web, the system throw UnAuthorized, and if the And Where can I override this method, in AuthServer project? Yes, in the **AuthServer** project. You can put it in any folder. * **ABP Framework version:** v6.0.1* **UI type**: MVC* **DB provider**: EF Core* **Tiered (MVC) #4691 closed one year ago by ServiceBot Support Team Automatic process manager 0 17
  • Token expiration not handled properly (Authserver, HttpApi.Host, Web) shiwei.liang@volosoft.com Hi,Please add the to the `Web` project. Task.FromResult(Challenge(new AuthenticationProperties())); }}```> Also how this AccessDenied api Hi,It's a class of ASPNETCore: https://github.com/dotnet/aspnetcore/blob/main/src/Security/Authentication Hi,> Also how this AccessDenied api will be called and from where and what to pass parameters? Hello Team,OUR ABP CONFIGURATION:ABP Framework version: v7.0.0UI type: MVCDB provider: EF Core handling properly, so that user does not see error 404 page when token get expired after staying idle long in #4837 closed one year ago by ServiceBot Support Team Automatic process manager 0 17
  • MAUI project will not compile for iOS Microsoft.PackageDependencyResolution.targets(5,5): Error NETSDK1047: Assets file '/Users/davidrutter/Projects/BaseSolution/aspnet-core You may also need to include 'ios-arm64' in your project's RuntimeIdentifiers. view=net-maui-7.0* https://www.youtube.com/watch?v=COMB1QsbB1M This is happening in both the release and debug versions. Yes, running the app on my iPhone in debug mode is when it happens. ABP Framework 5.3.3MAUI .NET 6.0.NET MVC backend (API)I have a project that was created last compile the app I get the following error:error NETSDK1005: Assets file 'Z:\Projects\xxxx\aspnet-core Ensure that restore has run and that you have included 'net6.0-ios' in the TargetFrameworks for your #4976 closed one year ago by ServiceBot Support Team Automatic process manager 0 17
  • Blazor, permissions not updating while still connected assigned to maliming Hi @malimingbut how can I use a PR of ABP Framework within my Abp Commercial Solution in which ABP is You can copy code from the pr and call it in your project. Just to clarify that Roberto is not part of our team and that he is asking about a separate problem in It was solved in a preview version of LeptonX, which was removed from the NuGet repository. * **ABP Framework version:** v7.2.3* **UI type**: Blazor* **DB provider**: EF Core* **Tiered #5396 answered one year ago by maliming Support Team Fullstack Developer 0 17
  • [ExtraProperties - File Management] FMFileDescriptor add Extra Properties, the value can not save assigned to Anjali_Musmade How can I use getting and setting ExtraProperties in a Blazor page? Can you provide an example?! not passing that value from File Management Module UI, you need to remove that properties like shown in Could you please tell me how to get and set the values for ExtraProperties in the FMFileDescriptor table v7.3.2**TemplateType:** Module Template (ABP Suite)**UI Type:** Blazor WASM**Database System**: EF Core Hiplease see this link in this way you can set and get values of extraproperty https://docs.abp.io **TemplateType**: Module Template (ABP Suite)* **UI Type**: Blazor WASM* **Database System**: EF Core (PostgreSQL)I'm using File Management Module to get Upload methods in another page and I am also using I use Extended Entities for File Management Module and refer to a specific property and it's value in the .ExtraProperties collection and place it in my UI individually? #5741 closed 7 months ago by ServiceBot Support Team Automatic process manager 0 17
  • Upgrade from 6.0.0 to 7.3.2 assigned to maliming Hi ,I can now reproduce the issue in clean instance for version 7.3.3 . Hi,It looks like a problem with EF Core, not ABP. Will it work if you use a net core application without ABP? Hi liangshiwei ,The sample work fine int .Net 7 with EF7 , please find this [console application](https hiEF core generates different restrictions for user and userview. * **ABP Framework version**: v6.0.0* **UI Type**: Angular * **Database System**: EF Core (SQL Server StackTrace: at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) in at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.InternalEntityEntry.EnsureOriginalValues() in at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.d__15`1.MoveNext() in D:\Projects\SanadCash.Expense\aspnet-core\src\SanadCash.Expense.EntityFrameworkCore\Users\ExtendedEfCoreIdentityUserRepository.cs #5793 closed 8 months ago by ServiceBot Support Team Automatic process manager 0 17
  • AuthServer page for LeptonX assigned to gterdem asp.net core (I cannot change and it is out of ABP Solution), so I have:1. Secondly, **authentication** and **authorization** are different concepts. ### AuthenticationThis The easiest way can be using the [simple authorization](https://learn.microsoft.com/en-us/aspnet/core view=aspnetcore-7.0) or maybe [role-based authorization](https://learn.microsoft.com/en-us/aspnet/core @gtendem: I agree with you that Authorization in Web API is not straight and after discussing with the * **ABP Framework version**: v7.3.3* **UI Type**: MVC and Angular* **Database System**: EF Core ( and full stack trace**:* **Steps to reproduce the issue**:Hi Team,I have two applications in Once the user is logged in, I want my user to be allowed to click on the Applications link (either MVC Currently, when the user lands on MVC, it does not show authenticated but asks to log in by clicking #5918 closed 6 months ago by ServiceBot Support Team Automatic process manager 0 17
  • License error when using ABP nightly builds assigned to liangshiwei Also mine is a Blazor app, not a Web app. I then updated all the EF Core references in my projects to: 8.0.0-rc.2.23480.1I then built the application I am trying to start the app with debugging in Visual Studio. I have made significant headway developing a module that is using EF Core 8 features based on the answer ago from @maliming (https://support.abp.io/QA/Questions/5912/How-do-I-start-using-the-new-features-in-EF-Core ABP Framework version**: v8.0.0-rc.2.23479.6* **UI Type**: Blazor Server* **Database System**: EF Core * **Steps to reproduce the issue**:As suggested in https://support.abp.io/QA/Questions/5912/How-do-I-start-using-the-new-features-in-EF-Core #6057 closed 7 months ago by ServiceBot Support Team Automatic process manager 0 17
  • iFrame Auth not working with responseType: 'code', assigned to maliming hiYou can check it in your console of devtools(**F12**).! Please check the request in the browser. I can successfully log in without any issues. iFrame is not a suggested component for any Authentication process because of security reasons and blocked Yes But in my used case I need to make my web working in iFrame. * **ABP Framework version:** v7.2.2* **UI type**: Angular* **DB provider**: EF Core* **Tiered ( In Normal flow its working fine but in I have a used case I need to use it in iFrame, In iFrame the here are my findings in normal flow it navigated to angular ?code=xxx! [image.png](/QA/files/3a0ea1c39c2732af4b60709e88f5eeb8.png)but in iFrame it again go back to login #6108 closed 7 months ago by ServiceBot Support Team Automatic process manager 0 17
  • Login Error 500 assigned to liangshiwei Hi,You can find logs in the deployed folder.For example:! the database.3- I publish the project and copy the generated files to the server.4- I made new site in problem only with the authentication page other website component are working ! i found th error in logsSystem.InvalidOperationException: No authentication handler is registered for Related: https://support.abp.io/QA/Questions/6204/windows-AuthenticationYou are trying to integrate #6272 closed 6 months ago by ServiceBot Support Team Automatic process manager 0 17
  • Languages in Web.Public assigned to maliming hiThis document already explains the steps in detail. Currently, I have modify the web public module, and now entire of this module is my code. web.public, which you can see in a new template project.! Because entire of web public module is modified, I think I will send you my code, Please review my code I want to ask a questionHow can I get all current active language on backend then binding to web public MongoDBTiered (for MVC) or Auth Server Separated (for Angular): noCurrently, I am using module web public Razor ASP .Net and running web public normally. to use server side localization like this like: https://docs.abp.io/en/abp/latest/Localization#using-in-a-razor-view-page Could you please guide me how to integrate server side localization to web public Razor ASP .Net and #6444 closed 5 months ago by ServiceBot Support Team Automatic process manager 0 17
  • Questions | Support Center (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Greg O'Connell

    Last Updated:

    Views: 5629

    Rating: 4.1 / 5 (42 voted)

    Reviews: 89% of readers found this page helpful

    Author information

    Name: Greg O'Connell

    Birthday: 1992-01-10

    Address: Suite 517 2436 Jefferey Pass, Shanitaside, UT 27519

    Phone: +2614651609714

    Job: Education Developer

    Hobby: Cooking, Gambling, Pottery, Shooting, Baseball, Singing, Snowboarding

    Introduction: My name is Greg O'Connell, I am a delightful, colorful, talented, kind, lively, modern, tender person who loves writing and wants to share my knowledge and understanding with you.