Hii Team,
I have production code with abp commercial for both 4.2 as well as 8.0 version as security purpose I want to implement Hmac validation for all of the request so that the tampering of data will be prohibited on my each request to identity server project. along with that do we have any default implementation for the same For eg . HMac validation as well as encryption decryption of request on client side as well as server side
I need the template in the ReactJs framework for this.
I don't understand exactly what you mean, could you be a little more clear?
I’m looking for a notification template that integrates with ReactJS not react-native-root-toast. If available, could you please provide the complete code with all essential features, such as success, error, info, and warning notifications? Additionally, is there support for real-time notifications? I would appreciate an example of that as well.
Hi there!
Our React Native template already comes integrated with react-native-root-toast. You can check out its repository for detailed instructions on how to use it. If you’d like, you can customize properties like backgroundColor, shadowColor, and textColor for warning and error notifications, define them in variables, and use them whenever needed.
I need the template in the ReactJs framework for this.
Hello, I’m looking for a notification template that integrates with React. If available, could you please provide the complete code with all essential features, such as success, error, info, and warning notifications? Additionally, if there is support for real-time notifications. I would appreciate an example of that as well.
Thank you!
Regarding the issue with the AuditLog table, the Username from the token is being stored correctly, but TenantId and UserId are not being saved in the AuditLog table. This is happening in the ABP 8.3.3 framework with .NET 8.0.
In .net 8.0, I added three packages
[abp.zerocore.identityserver4\6.0.0
3chum.identityserver4.accesstokenvalidation\6.0.1
identitymodel\7.0.0]to use the [Authorize] attribute in my application. Without these packages, I couldn't debug the application. After adding them, I was able to debug the application and save AuditLog data, including the Username. However, the TenantId and UserId are still not being stored.
i can see them in application while debugging these are getting as null
What could be the reason for this issue?
the application zip link is below https://softtech360-my.sharepoint.com/:u:/g/personal/vinay_kumar_softtech-engr_com/EZRcNqsn529Ok7ZoOkXUOZMBEzpPIz_x9AQHDbPWpWDmgw?e=NCoCfO
2025-01-27 16:30:06 [11:00:06 ERR] Client CIVITCORE is not allowed access to scope Civit.p1. 2025-01-27 16:30:06 [11:00:06 ERR] Invalid scopes requested, {"ClientId": "CIVITCORE", "ClientName": "CIVITCORE", "GrantType": "client_credentials", "Scopes": null, "AuthorizationCode": "", "RefreshToken": "", "UserName": null, "AuthenticationContextReferenceClasses": null, "Tenant": null, "IdP": null, "Raw": {"client_id": "CIVITCORE", "client_secret": "REDACTED", "grant_type": "client_credentials", "tenant": "193A31E4-E8DD-8925-1A18-3A169DFEFDCC", "scope": "Civit.p1"}, "$type": "TokenRequestValidationLog"} 2025-01-27 16:30:06 [11:00:06 INF] {"ClientId": "CIVITCORE", "ClientName": "CIVITCORE", "RedirectUri": null, "Endpoint": "Token", "SubjectId": null, "Scopes": null, "GrantType": "client_credentials", "Error": "invalid_scope", "ErrorDescription": null, "Category": "Token", "Name": "Token Issued Failure", "EventType": "Failure", "Id": 2001, "Message": null, "ActivityId": "0HN9SAR4GUCEP:00000008", "TimeStamp": "2025-01-27T11:00:06.0000000Z", "ProcessId": 1, "LocalIpAddress": "::ffff:172.17.0.2:44374", "RemoteIpAddress": "::ffff:172.17.0.1", "$type": "TokenIssuedFailureEvent"} 2025-01-27 16:30:06 [11:00:06 INF] Request finished HTTP/1.1 POST https://192.168.4.237:44374/connect/token application/x-www-form-urlencoded 132 - 400 - application/json;+charset=UTF-8 23.8006ms
Dear Support Team, I want to give custom name for my api scope which will be different from the api resource but it gives me invalid scope error. Give me solution for this issue
Still there are multiple error added migration permission tables now getting dependecy error for the audit logging module sharing you logs. It will be helpfull if you share me modified code which will be error free
10:53:45 INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule [10:53:45 DBG] Started background worker: Volo.Abp.IdentityServer.Tokens.TokenCleanupBackgroundWorker [10:53:45 INF] Initialized all ABP modules. [10:53:45 INF] Now listening on: https://localhost:5001 [10:53:45 INF] Now listening on: http://localhost:5000 [10:53:45 INF] Application started. Press Ctrl+C to shut down. [10:53:45 INF] Hosting environment: Development [10:53:45 INF] Content root path: D:\MyWorkspace\CivitCoreTemplate\Civit.Core.Template\Host\Civit.Core.Template\Civit.Core.Template.HttpApi.Host [10:53:46 ERR] An exception was thrown while activating Volo.Abp.Auditing.AuditingManager -> Volo.Abp.Auditing.AuditingHelper -> Volo.Abp.AuditLogging.AuditingStore. Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.Auditing.AuditingManager -> Volo.Abp.Auditing.AuditingHelper -> Volo.Abp.AuditLogging.AuditingStore. ---> Autofac.Core.DependencyResolutionException: None of the constructors found on type 'Volo.Abp.AuditLogging.AuditingStore' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Abp.AuditLogging.IAuditLogRepository auditLogRepository' of constructor 'Void .ctor(Volo.Abp.AuditLogging.IAuditLogRepository, Volo.Abp.Uow.IUnitOfWorkManager, Microsoft.Extensions.Options.IOptions`1[Volo.Abp.Auditing.AbpAuditingOptions], Volo.Abp.AuditLogging.IAuditLogInfoToAuditLogConverter)'.
See https://autofac.rtfd.io/help/no-constructors-bindable for more info. at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.
[10:53:46 INF] Request starting HTTP/2 GET https://localhost:5001/swagger/index.html - null null [10:53:47 INF] Request finished HTTP/2 GET https://localhost:5001/swagger/index.html - 200 null text/html;charset=utf-8 310.5244ms [10:53:47 INF] Request starting HTTP/2 GET https://localhost:5001/_framework/aspnetcore-browser-refresh.js - null null [10:53:47 INF] Request finished HTTP/2 GET https://localhost:5001/_framework/aspnetcore-browser-refresh.js - 200 13800 application/javascript; charset=utf-8 3.627ms [10:53:47 INF] Request starting HTTP/2 GET https://localhost:5001/_vs/browserLink - null null [10:53:47 INF] Request finished HTTP/2 GET https://localhost:5001/_vs/browserLink - 200 null text/javascript; charset=UTF-8 27.9902ms [10:53:47 INF] Request starting HTTP/2 GET https://localhost:5001/swagger/v1/swagger.json - null null [10:53:47 INF] Request finished HTTP/2 GET https://localhost:5001/swagger/v1/swagger.json - 200 null application/json;charset=utf-8 93.7021ms