Hi
can you decode your access_token on https://jwt.io/ ? or please share the acess_token
I didn't get this error let me try to reproduce at my end. And can you please replace all 7.3.3 version to 7.3.2 then follow same delete yarn.lock then yarn
Hello SamirBoutazzout ,
can you please check this https://github.com/abpframework/abp/issues/3758
https://github.com/abpframework/abp/blob/99806b7621fdc10cf2c6e6f4d994612656bda870/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationController.cs#L9
https://github.com/abpframework/abp/blob/99806b7621fdc10cf2c6e6f4d994612656bda870/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationConfigurations/AbpApplicationConfigurationAppService.cs#L28
it is used to determine the application language, settings etc which is not related to user unless they login when a user is not logged in it doesn't give user related information.
Can you share a screenshot of the http response where it shows user information without login?
please do let me know if it helps you
Thank you, Anjali
Hello scottie.tang@cpy.com.hk,
Yes you are right ; you need to update step by step as 3.3.x to 4.0, then 4.x to 5.0 and so on.
Also have look to this similar issue https://support.abp.io/QA/Questions/5599/Need-Information-on-Abp-Version-upgrade-from-513-to-732
Thanks, Anjali
Hello selcukdurann@gmail.com,
can you please try to update the given code block in API Host Module.cs file
private void ConfigureAuthentication(ServiceConfigurationContext context, IConfiguration configuration)
{
context.Services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddJwtBearer(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = Convert.ToBoolean(configuration["AuthServer:RequireHttpsMetadata"]);
options.Audience = "tiered732";
options.BackchannelHttpHandler = GetHandler();
});
}
private static HttpClientHandler GetHandler()
{
var handler = new HttpClientHandler();
handler.ClientCertificateOptions = ClientCertificateOption.Manual;
handler.SslProtocols = SslProtocols.Tls12;
handler.ServerCertificateCustomValidationCallback = (message, cert, chain, errors) => true;
return handler;
}
please do let me know if it helps you
Thank you, Anjali
Hello scottie.tang@cpy.com.hk,
please check https://docs.abp.io/en/abp/latest/Upgrading and https://docs.abp.io/en/abp/latest/Migration-Guides/Index
Thanks, Anjali
Hello
I am able to run project with this dependencies & devDependencies in package.json file please trye to replace this and delete yarn.lock
then run yarn
& yes if you want @abp/*
version to 7.3.2 you can find and replace all 7.3.3 to 7.3.2 I tested that too at my end working fine.
"dependencies": {
"@abp/signalr": "~7.3.3",
"@microsoft/signalr": "^7.0.7",
"@volo/abp.ng.chat": "~7.3.3",
"@volo/abp.ng.file-management": "~7.3.3",
"ng-recaptcha": "^12.0.2",
"ngx-captcha": "^13.0.0",
"@abp/ng.components": "~7.3.3",
"@abp/ng.core": "~7.3.3",
"@abp/ng.oauth": "~7.3.3",
"@abp/ng.setting-management": "~7.3.3",
"@abp/ng.theme.shared": "~7.3.3",
"@angular/animations": "~16.0.0",
"@angular/common": "~16.0.0",
"@angular/compiler": "~16.0.0",
"@angular/core": "~16.0.0",
"@angular/forms": "~16.0.0",
"@angular/localize": "~16.0.0",
"@angular/platform-browser": "~16.0.0",
"@angular/platform-browser-dynamic": "~16.0.0",
"@angular/router": "~16.0.0",
"@volo/abp.commercial.ng.ui": "~7.3.3",
"@volo/abp.ng.account": "~7.3.3",
"@volo/abp.ng.audit-logging": "~7.3.3",
"@volo/abp.ng.gdpr": "~7.3.3",
"@volo/abp.ng.identity": "~7.3.3",
"@volo/abp.ng.language-management": "~7.3.3",
"@volo/abp.ng.openiddictpro": "~7.3.3",
"@volo/abp.ng.saas": "~7.3.3",
"@volo/abp.ng.text-template-management": "~7.3.3",
"@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.3",
"@angular-devkit/build-angular": "~16.0.0",
"@angular-eslint/builder": "~16.0.0",
"@angular-eslint/eslint-plugin": "~16.0.0",
"@angular-eslint/eslint-plugin-template": "~16.0.0",
"@angular-eslint/schematics": "~16.0.0",
"@angular-eslint/template-parser": "~16.0.0",
"@angular/cli": "~16.0.0",
"@angular/compiler-cli": "~16.0.0",
"@angular/language-service": "~16.0.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"
}