Open Closed

Abp.TenantId Cookie Problem #10651


0
QuickApp created

What is your product version? v10.2.0 What is your product type (Angular or MVC)? Angular What is product framework type (.net framework or .net core)? .Net Core

Hi everyone,

When logging in and logging out from Tenant's subdomain, a cookie named Abp.TenantId is written.

This then gives an error when logging into the host from the main domain or trying to create a new customer.

How should I find a solution for this situation?


5 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @QuickApp

    Is it possible to share your app's public URL with info@aspnetzero.com ?

    Thanks,

  • 0
    QuickApp created

    Hi @ismcagdas, I sent the relevant email.

    Best regards.

  • 0
    ismcagdas created
    Support Team

    Thanks, we have replied to your email.

    Normally, when you use {TENANCY_NAME} placeholder in your remoteServiceBaseUrl, tenantId cookie shouldn't be set , see https://github.com/aspnetzero/aspnet-zero-core/blob/dev/angular/src/AppPreBootstrap.ts#L112

  • 0
    QuickApp created

    Hi @ismcagdas, I have replied to your mail. Yes, normally it should not write cookies. But we have such a situation.

    Best regards.

  • 0
    ismcagdas created
    Support Team

    Hi @QuickApp

    We will provide you support via email for this case.

    Thanks,