Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Identity in separate webforms and webapi projects

$
0
0

Hello! I was hoping someone could just give me an idea of what concept I want to look into in order to accomplish something.

I have an ASP.net webforms application where I have implemented identity. Likewise I have a WebAPI project which is a completely different site that uses the same identity model. When someone logs onto the website, I will occasionally need to make calls to the webapi site. Which method should I be looking into to pass that the user has authenticated on the website so that the webapi knows the user context and that they're good to go?

In other cases, I will need to call the webapi from winforms, using that same identity username/password. What should I be doing there?

Thank you!


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>