Base solution for your next web application
Open Closed

Tenant Issue in 15.2. Cannot login via Swagger UI #12654


User avatar
0
ayoyusuf created

Version: 15.2 Asp.net core

ISSUE: Vanilla 15.2 (which also influences any upgrades we do ) does not login into Default client Tenant via Swagger UI. (It can log into the tenant from the Angular front end)

We can log into the Host swagger page with the admin. But, when we include the tenant, it does not login. If we use a wrong username or password for the tenant, it gives an error hence means when we use correct username and password and it just blinks, it recognizes we used right credentials.

We have checked all the tenant settings and multi-tenancy is set to true.

We can login into the tenant via the Angular app but cannot login into it via the Swagger host page.

This is an unusual behaviour as we have been using and upgrading various versions of asp.net zero for almost almost 10years and never had this situation.

Is there somewhere else to activate multitenancy that works with the Swagger/ main host login than setting the ArchConst MultiTenancyEnabled = true

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @ayoyusuf

    The issue you mentioned will be fixed in version 15.3. If you apply the changes made in this pull request, you will be able to access the Swagger interface by logging into the tenant on the Host login screen. The error occurs because TwoFactor is enabled in the tenant.

    Thank you for your feedback.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)