FIX:
in angular/src/assets/abp-web-resources/abp.js
abp.multiTenancy.tenantIdCookieName = 'Abp-TenantId';
in aspnet-core/src/Blah.Core/AccountCoreModule.cs
Configuration.MultiTenancy.TenantIdResolveKey = "Abp-TenantId";
Hello - we're having the same problem, what was the fix? thanks!
Hi @ismcagdas 👋 - well that's timely!
Reviewing that PR, I headed down the same path in my research 😊! But, it didn't work for me as the AJAX request is returning a 302 which redirects the browser.
Also, I don't see same Startup.cs
file; I don't have anything about CookieAuthenticationOptions
. Is that server side change applicable for the Angular project template? 🤔
Maybe yours work b/c of the change from [AbpMvcAuthorize]
to [AbpAuthorize]
? (I gotta look up the difference between those two)
Articles Tutorials | AspNet Boilerplate: configure debugging in Visual Studio
Articles Tutorials | AspNet Boilerplate: configuring debugging in Visual Studio
Thanks for the link but I wanted to raise a global issue. I've seen broken links like this numerous times on the support site.
I stumbled upon another today:
If license control pacakge doesn't have any source code used in the main app, so you can easily delete the reference of license packages and disable license control :)
Ah, 🤦♂️, that makes sense! I see now, thanks!
Did you configure OpenId section in appsettings.json and faced a problem while login via Azure AD ?
I did but we're using Azure AD B2C not AD 😊. Please see this ticket for challenges (looks like lack of support) for configuring Zero w/ B2C.
Closing this ticket, thanks!
You can inject IConfigurationRoot to read appsetting.json
That was not giving me the full config. But, I injected IWebHostEnvironment env
and then called env.GetAppConfiguration()
which gave me a IConfigurationRoot
that did have all the config.