Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Public WebSite - login to Admin WebSite #11069


User avatar
0
deltavision created

Hi,

v9.0.1.0 MVC .NET Core

We try to test/implement the Public website as landing page - before going to the Admin website

Cannot figure out how this is suppose to work :-)

Starting "mulitiple projects" from the VS solution (Web.Mvc and Web.Public)

When running - the login from Public website, shows the login page for the Admin website - but then returns to the public site (as logged in). We thought that it continued in to the admin application?

Are we doing something wrong?


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @deltavision

    No, you are doing it correct. The login on public website is designed like that. If you don't want users to be redirected back to public website, you can just remove returnUrl parameter on public site's login URL and users will be logged in to admin website.

  • User Avatar
    0
    deltavision created

    Hi @ismcagdas

    back to this one :-)

    now at v11.2.1, MVC Core

    Login does not change to tenant\user - and can not change language on public site.

  • User Avatar
    0
    deltavision created

    Hi @ismcagdas

    found an issue with the public site and Bootstrap - it uses: data-bs-toggle="dropdown" - in header\default.cshtml but the version of Bootstrap referenced is "older" - so change to: data-toggle="dropdown" - solved the dropdown issue.

    Maybe you should update Bootstrap for public site :-)

    Also som id's and class's use the same name.

  • User Avatar
    0
    deltavision created

    For soloution on:

    Login does not change to tenant\user - and can not change language on public site.

    Reference: #11706

  • User Avatar
    0
    ismcagdas created
    Support Team

    Thanks :)