ok, You can test this in a new template project.
when I login the web it will create two sessions in the same time. Itz normal?
Yes, One session for authserver and one for the web. since you are using a tiered project.
hi
I sent you the content of the file logs.txt (generated by the app)
I didn't receive Logs.txt
can you share it by https://wetransfer.com/
liming.ma@volosoft.com
Thanks
hi
The claims seem to be no problem.
Can you create a new question and share the info? I will ask our angular team why the UI is wrong.
{
"iss": "https://test2dev.localhost:44322/",
"exp": 1727417535,
"iat": 1727413935,
"aud": [
"AccountService",
"IdentityService",
"AdministrationService",
"SaasService",
"ProductService",
"ClinicService",
"AppointmentService",
"FormsService"
],
"scope": "offline_access openid profile email phone AccountService IdentityService AdministrationService SaasService ProductService ClinicService AppointmentService FormsService",
"jti": "4e6393e4-e461-4dc4-a79c-6499878f3a3e",
"sub": "3a0daa97-5fba-2079-563c-3e26309bdc81",
"preferred_username": "admin",
"email": "safwan@gmail.com",
"role": "admin",
"tenantid": "3a0daa97-5b6d-e661-4f00-22309be7478d",
"oi_prst": "Angular",
"oi_au_id": "3a14ecaf-dae0-d535-4201-7197e6e3092e",
"client_id": "Angular",
"oi_tkn_id": "3a154411-b78a-d4ac-b584-f46f711b07e5"
}
hi
Have you logged in to the CLI?
abp login-info
Only have one line log?
That's strange.
Hello, I could generate a CSV file with all errors detected by Application Insights and share it to you, does it work for you like that?
Please share the logs.
Thanks
hi
Can you share the Logs.txt
file?
liming.ma@volosoft.com
.WriteTo.Async(c => c.File("Logs/logs.txt"))
public class Program
{
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
#if DEBUG
.MinimumLevel.Debug()
#else
.MinimumLevel.Information()
#endif
.MinimumLevel.Override("Microsoft", LogEventLevel.Information)
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
hi
After login to the app with host admin, with Insomnia copy the access token to request, and get data from the Url:
Can you check the request-response (api/abp/application-configuration
) in your angular app?
Check the request token
as well.
And share the logs of this request in your services.
Thanks.
hi
Now, after all this, I am able to get the permissions related only to Tenants, but I am getting this login icon even after user being logged in.
What are the current user claims of the authserver project?
And I also observed that when I check in the abp configuration response :
Please share access_token
of this request.
Please share all logs of this case.
Thanks.
hi
when I userFriendlyException is thrown the server is returning 500 error,
Are there any logs in Logs.txt
file?
If so, please share it.
Thanks.