Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jaison 7 posts 78 karma points
    Sep 14, 2023 @ 11:02
    Jaison
    1

    Get Current Umbraco Logged-In User from API

    My requirement is given as below.

    I have the main Umbraco backoffice and I have another MVC backoffice project which also has a login form option.

    I need to implement the feature to enable to login into the MVC project if the user is already logged in the Umbraco backoffice.

    What Im trying to achieve is, when the first request is made to the MVC project, an API will be called(this API resides in the main Umbraco project itself). And in this API I need to check if Umbraco user is already logged-in or not. If already logged-in, then my MVC website will allow the user to go to the dashboard other-wise take the user to the Login page itself.

    My Umbraco version is v11.3.1. I have gone through many suggestion available in this Forum but not able to reach to a solution.

    Can anyone help?

    Thanks in Advance.

Please Sign in or register to post replies

Write your reply to:

Draft