Open Closed

CANNOT LOGIN #9942


0
alfar_re created

Hi,

I'm getting this problem on login to either Host or Tenant. I get redirected to this;

http://localhost:62114/Account/Login?ReturnUrl=%2FApp

The login code has not changed.

  • 8.1
  • MVC
  • .net core

9 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi,

    Your problem is related to https://github.com/aspnetzero/aspnet-zero-core/issues/3472. You need to use HTTPS in your development.

  • 0
    alfar_re created

    Hi @ismcagdas,

    I implemented as on the Zero example but the problem persists. I hosted the app on Azure.

    For tenant login I get redirected to the link below;

    /Account/Login?ReturnUrl=/App

    On tenant login second attempt while the link is as above I get redirected to the App/Welcome page with no menu.

    For host login I ger redirected to the welcome page: /App/Welcome

    What might be the issue here. And funny enough, on localhost, the app only works well on Firefox. The other browsers will either have same issue as above or login and give the error User did not login to the application

  • 0
    ismcagdas created
    Support Team
  • 0
    alfar_re created

    Hi,

    Yes I did. I implemented all these changes. I also hosted on Azure and set to HTTPs only but the same problem persists.

  • 0
    ismcagdas created
    Support Team

    Hi @alfar_re

    Could you share your app's public URL and test credentials with info@aspnetzero.com ?

  • 0
    alfar_re created

    Hi @ismcagdas,

    I've sent the email with the subject the same as this issue.

  • 0
    alfar_re created

    Hi @ismcagdas,

    Did you receive the email? It's a bit urgent since we are not able to test out.

  • 0
    ismcagdas created
    Support Team

    Hi @alfar_re

    Yes, received and replied to you via email for extra info.

  • 0
    alfar_re created

    Hi,

    I responded as requested.