Hello Tuncay.Kurt,
Can you try to add this code in *HttpApiHostModule
var services = context.Services.AddAntiforgery();
services.AddAntiforgery(options =>
{
options.Cookie.SameSite = SameSiteMode.None;
options.Cookie.SecurePolicy= CookieSecurePolicy.Always;
});
regards,
Hi
could you please check these links https://support.abp.io/QA/Questions/3047/Disable-concurrent-user-login
https://support.abp.io/QA/Questions/950/How-to-allow-one-user-concurrent-login-per-user
https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4821
Hello bhasinp,
Please check this documentation https://docs.abp.io/en/abp/3.1/Modules/Organization-Units
it is mentioned that the OU code must be unique so please use an unique codes for organization items and follow hierarchy like instead of ORG-SUB-1 , you may use ORG1-SUB-1 like wise (ORG1) as first root name, so every node will get unique
Thanks, Anjali
Hello Anjali, I already did this https://community.abp.io/articles/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n But still have exception
Thanks
Ok will check and get back to you asap. Could you please provide steps to reproduce the issue.
Hello Tuncay.Kurt,
please check this link https://community.abp.io/articles/patch-for-chrome-login-issue-identityserver4-samesite-cookie-problem-weypwp3n
please have look to these similar tickets https://support.abp.io/QA/Questions/4357/How-to-allow-cross-domain-cookies-in-ABP-identity-server https://github.com/abpframework/abp/issues/7261 https://support.abp.io/QA/Questions/622/Antiforgery-cookies-http-and-react-native-problems
please let me know if found helpful for you
Thanks, Anjali
Hi
I am sorry, what do you mean by translations template can you please explain?
Hello okains,
Please follow the below steps -
abp clean // or dotnet clean
dotnet restore
abp bundle
Thanks, Anjali
Thanks, Able to reproduce and solve with below packages
"dependencies": {
"@abp/signalr": "~7.3.2",
"@microsoft/signalr": "^7.0.7",
"@volo/abp.ng.chat": "~7.3.2",
"@volo/abp.ng.file-management": "~7.3.2",
"ng-recaptcha": "^12.0.2",
"ngx-captcha": "^13.0.0",
"@abp/ng.identity": "~7.3.2",
"@abp/ng.tenant-management": "~7.3.2",
"@abp/ng.components": "~7.3.2",
"@abp/ng.core": "~7.3.2",
"@abp/ng.oauth": "~7.3.2",
"@abp/ng.setting-management": "~7.3.2",
"@abp/ng.theme.shared": "~7.3.2",
"@angular/animations": "~16.2.8",
"@angular/common": "~16.2.8",
"@angular/compiler": "~16.2.8",
"@angular/core": "~16.2.8",
"@angular/forms": "~16.2.8",
"@angular/localize": "~16.2.8",
"@angular/platform-browser": "~16.2.8",
"@angular/platform-browser-dynamic": "~16.2.8",
"@angular/router": "~16.2.8",
"@volo/abp.commercial.ng.ui": "~7.3.2",
"@volo/abp.ng.account": "~7.3.2",
"@volo/abp.ng.audit-logging": "~7.3.2",
"@volo/abp.ng.gdpr": "~7.3.2",
"@volo/abp.ng.identity": "~7.3.2",
"@volo/abp.ng.language-management": "~7.3.2",
"@volo/abp.ng.openiddictpro": "~7.3.2",
"@volo/abp.ng.saas": "~7.3.2",
"@volo/abp.ng.text-template-management": "~7.3.2",
"@volosoft/abp.ng.theme.lepton-x": "~2.3.0",
"rxjs": "7.5.6",
"tslib": "^2.1.0",
"zone.js": "~0.13.0"
},
"devDependencies": {
"@abp/ng.schematics": "~7.3.2",
"@angular-devkit/build-angular": "~16.2.5",
"@angular-eslint/builder": "~16.2.0",
"@angular-eslint/eslint-plugin": "~16.2.0",
"@angular-eslint/eslint-plugin-template": "~16.2.0",
"@angular-eslint/schematics": "~16.2.0",
"@angular-eslint/template-parser": "~16.2.0",
"@angular/cli": "~16.2.5",
"@angular/compiler-cli": "~16.2.0",
"@angular/language-service": "~16.2.0",
"@types/jasmine": "~3.6.0",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^8.23.0",
"jasmine-core": "~4.0.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.1.0",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.7.0",
"ng-packagr": "^16.0.1",
"typescript": "~5.0.4"
}
Hi
yes you can override the controller see examples of how you can do it here
https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services
https://github.com/abpframework/abp/blob/99806b7621fdc10cf2c6e6f4d994612656bda870/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationController.cs#L9
you can override this controller and add the authorize attribute to the controller class.
but i think it will create bugs as it needs the application configurations like languages and other information from backend.
you can modify the code inside
overriding this service
https://github.com/abpframework/abp/blob/99806b7621fdc10cf2c6e6f4d994612656bda870/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L28
Hi
Is it possible to share your solution on support@abp.io with the ticket id or share a google drive link? I'll have a look what is it missing
Hi can share your project I'll have a look.