Open Closed

Angular UI Administration menus are not showed! (abp version is 2.3.0) #72


0
zony created

Angular UI Administration menus are not showed!

The solution is created by cli: abp new Test -t app-pro -u angular

The abp pro version is 2.3.0.

It can build and run successful, but administration menus are not showed.


13 Answer(s)
  • 1
    alper created
    Support Team

    try signing in from http://localhost:4200/account/login then you'll see the administrator menu.

    I think the problem is there's no Login link.

  • 0
    drpdev2 created

    I already logged into the system. But It didn't work!

  • 0
    Mehmet created
    Support Team

    Did you clean browser storages (local and storage) ?

  • 0
    [email protected] created

    Hi,

    I've got this also

    The admin menu can be showed in localhost but I've got this problem when deploying to dev server The first time I run, It show the default page with login button, then I passed the username and password and it show like this

    Then I refresh the page and it turned to unauthorized page

  • 0
    Mehmet created
    Support Team

    Check the app-configuration response after logging in. If isAuthenticated in currentUser object equal to false, you should check the backend configuration. It may related to AuthServer settings in the appsettings.json

  • 0
    [email protected] created

    I don't know why the isAuthenticated = false because when It redirects to /account/login, I can log in successfully

  • 0
    Mehmet created
    Support Team

    Can you call ​/api​/account​/login API via swagger and provide response to us?

  • 0
    [email protected] created

    This is my swagger, there is no /api/account/login

  • 0
    alper created
    Support Team

    is your Identity Server seperated?

  • 0
    [email protected] created

    Yes, it's seperated. And I can login through it

  • 0
    alper created
    Support Team

    add swagger to your Identiy Server project

    See this to understand how to add Swagger https://gist.github.com/ebicoglu/60b9617a9dc0a780f7fc729f0496f4cc

  • 0
    [email protected] created

    this is my response from try swagger

    Everything is fine when I run in debug. This stuck me to deploy to Demo environment. Please help

  • 0
    Mehmet created
    Support Team

    this is my response from try swagger Everything is fine when I run in debug. This stuck me to deploy to Demo environment. Please help


    Hi,

    If this problem still exists, please create a new ticket.