# Help with two .NET SSO Okta apps

**URL:** <https://devforum.okta.com/t/help-with-two-net-sso-okta-apps/6161>\
**Category:** Questions\
**Created:** [September 3, 2019, 4:00pm UTC](https://devforum.okta.com/t/help-with-two-net-sso-okta-apps/6161 "2019-09-03T16:00:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sga](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@sga](https://devforum.okta.com/u/sga)\
**Post date:** [September 3, 2019, 4:00pm UTC](https://devforum.okta.com/t/help-with-two-net-sso-okta-apps/6161/1 "2019-09-03T16:00:12Z")

</div>

I have two .NET apps, one .NET 4.X web forms and the other a .NET Web API app. I have configured each app to use Okta for authentication so that if I go to one and login and then go to the other directly it will recognize that I am logged in and not ask for my credentials again.

What I need is for the Web Forms app to call the Web API to get some resources, however when I do this (using a WebRequest on the server side) I get the login page as a response. I did some searching but since I am new to Okta I am limited by not knowing what this specific flow is called.

1. If I am logged in to the Web Forms app how do I pre-authenticate the request I make to the Web API?
2. What is this Okta flow called?
3. In this flow would I need to pass an id\_token or access\_token to the Web API?

Appreciate any help.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [January 18, 2024, 12:00am UTC](https://devforum.okta.com/t/help-with-two-net-sso-okta-apps/6161/2 "2024-01-18T00:00:03Z")

</div>

Closed on January 18, 2024, 12:00am UTC


