C# Applications. Net MVC how to share login

Asked

Viewed 52 times

0

Hello,

How to integrate applications developed with C# . NET MVC, with a single login? Save the proportions, what I look for is something like what happens when accessing gmail, then turn on googledrive or googleCalendar and vice versa.

Thank you,

  • Search by SSO and Identityserver

1 answer

0

What you can do is store the data from the user’s browser at the time they first log in, and whenever you need to call the login method, you capture that data and do the verification.

The problem is that the browser data may change if the user clears the cookies, or he accesses from a different browser.

Use the Httpcontext.session.Sessionid method in your controller to capture the user’s browser Sessionid.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.