Hi everyone, I am trying to login multitenant using subdomain. But when it tries to login (https://ExampleTenancyName.localhost:44301), it gives an "Invalid user name or password" error. I think tenant id value is not gone.
The changes I made to the code are as follows:
Demo.Web.Host / appsettings.json:
"App": { "ServerRootAddress": "https://{TENANCY_NAME}.localhost:44301/", "ClientRootAddress": "http://{TENANCY_NAME}.localhost:4200/", "CorsOrigins": "http://*.mycompany.com,http://*.localhost:4200,http://localhost:9876", "SwaggerEndPoint": "/swagger/v1/swagger.json", "AllowAnonymousSignalRConnection": "true" },
Angular / appconfig.json:
"remoteServiceBaseUrl": "https://localhost:44301", "appBaseUrl": "http://{TENANCY_NAME}.localhost:4200",
Angular / angular.json:
"serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { "browserTarget": "abp-zero-template:build", "disableHostCheck": true },
Hi everyone,
I want to add custom language add and delete feature for multi tenant. Can you help me how to do this?
Thanks.
Hi @ismcagdas
As you said, I removed the authorization restriction, thank you.
Now I'm trying to add some languages by default for new tenant registration. (Turkish, English etc.)
But I was not successful, I would like your help in this matter too.
Best regards..
Hi,
Maybe I didn't understand what you said, sorry :)
This database is running when it is being created for the first time. (saves tenantId as null) I want to add a few default languages like default roles every time a tenant is created.
Thanks.
Hi,
I want to add AbpTenants table as navigation property using PowerTools. But there is no such option in the entity dropdown menu, how can I do?
Best regards..
Hi everyone, When I deactivate the tenant, the tenant continues to use the system until it is not logout. But I want to prevent this somehow. Is there any way to do this while taking RefreshToken? Or is there a different way?
Also, apart from this subject, do you have a ready method where I can get the URL of the client requesting the API? Or should I write a special method myself?
Thanks..
Hi @ismcagdas,
Thanks for your answers. I need some more information about this problem.
Hi, I am trying to download the Metronic theme from the ASP.NET Zero Download page, there is a "Not Found" error on the page that opens.
I would be glad if you could help.
Thanks, problem solved.
Hi, I am using the FirstOrDefaultAsync method but the foreignkey table is null. Also does not allow to define Include in FirstOrDefaultAsync method. I will be glad if you help me