I want to implement login system where same user account can be used to login in different web applications. How can I achieve this ? I want to make a similar architecture to Google and Microsoft Account where different services can be used using the same account.

I will be working in ASP.NET MVC for this.

  • Do you already have some idea of how you could achieve it, or no idea at all? – user253751 Aug 1 '16 at 4:36
  • I have some idea. I am trying to create a Login server (Site A) with OAuth authentication, which will provide an authorization key to the site(Site B). The authorization key can be used to access the identity of user from site A. – Ravi Mandal Aug 1 '16 at 4:56
  • Which part are you stuck on? – user253751 Aug 1 '16 at 5:00
  • I am just trying to figure out if it is a good method or not. – Ravi Mandal Aug 1 '16 at 5:29
  • If you want to figure out if it's a good method why not ask if it's a good method? – user253751 Aug 1 '16 at 5:31

Using someone else's OAuth service (Google, Microsoft Live, Facebook, Twitter) is a good idea, but implementing your own OAuth server is complex and challenging to say the least.

Have a look here, there's lots of documentation for various scenarios.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.