Base solution for your next web application
Open Closed

CANNOT LOGIN #9942


User avatar
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

11 Answer(s)
  • User Avatar
    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.

  • User Avatar
    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

  • User Avatar
    0
    ismcagdas created
    Support Team
  • User Avatar
    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.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @alfar_re

    Could you share your app's public URL and test credentials with [email protected] ?

  • User Avatar
    0
    alfar_re created

    Hi @ismcagdas,

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

  • User Avatar
    0
    alfar_re created

    Hi @ismcagdas,

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

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @alfar_re

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

  • User Avatar
    0
    alfar_re created

    Hi,

    I responded as requested.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @alfar_re

    We can continue via email.

    Thanks,

  • User Avatar
    0
    JLombela created

    Hi,

    I am having the same issue. How was this issue solved?

    Thanks