# Okta owin based sdk to support stand alone .net web api

**URL:** <https://devforum.okta.com/t/okta-owin-based-sdk-to-support-stand-alone-net-web-api/13543>\
**Category:** Questions\
**Created:** [March 30, 2021, 6:04am UTC](https://devforum.okta.com/t/okta-owin-based-sdk-to-support-stand-alone-net-web-api/13543 "2021-03-30T06:04:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![satya](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@satya](https://devforum.okta.com/u/satya)\
**Post date:** [March 30, 2021, 6:04am UTC](https://devforum.okta.com/t/okta-owin-based-sdk-to-support-stand-alone-net-web-api/13543/1 "2021-03-30T06:04:58Z")

</div>

Hi,  
I am implementing adding new identity provider - okta to my existing web api. I already have google, microsoft providers which use cookie based authentication for verifying users. When client tries to login, if Identity.IsAuthenticated is false a challange request is called where owin handles the request to specific provider’s authentication provider handler where it sets the cookie and then redirects to the caller.  
Microsoft - https://\*\*\*\*.net/signin-microsoft.  
Facebook - Microsoft.Owin.Security.Facebook  
Google - Microsoft.Owin.Security.Google  
Is there a way to achieve the same with okta?

---

<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:** [March 30, 2021, 4:32pm UTC](https://devforum.okta.com/t/okta-owin-based-sdk-to-support-stand-alone-net-web-api/13543/2 "2021-03-30T16:32:21Z")

</div>

Because Okta is not a Social authentication provider, there is no single URI that you can redirect users to to log in, as their issuer will depend upon the Okta instance/tenant they have been created in. Aka, there is not “Sign In With Okta” equivalent (like “Sign In With Apple,” “Sign In With Facebook,” etc) at this time

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [January 27, 2024, 12:08am UTC](https://devforum.okta.com/t/okta-owin-based-sdk-to-support-stand-alone-net-web-api/13543/3 "2024-01-27T00:08:34Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
