# Trigger okta when we have multiple stand alone Identity providers using HttpContext.GetOwinContext().Authentication.Challenge()

**URL:** <https://devforum.okta.com/t/trigger-okta-when-we-have-multiple-stand-alone-identity-providers-using-httpcontext-getowincontext-authentication-challenge/13544>\
**Category:** Questions\
**Created:** [March 30, 2021, 8:40am UTC](https://devforum.okta.com/t/trigger-okta-when-we-have-multiple-stand-alone-identity-providers-using-httpcontext-getowincontext-authentication-challenge/13544 "2021-03-30T08:40:45Z")\
**Posts on this page:** 4\
**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, 8:40am UTC](https://devforum.okta.com/t/trigger-okta-when-we-have-multiple-stand-alone-identity-providers-using-httpcontext-getowincontext-authentication-challenge/13544/1 "2021-03-30T08:40:45Z")

</div>

Hi, I can trigger Microsoft, facebook, google by providing name of the provider as parameter to HttpContext.GetOwinContext().Authentication.Challenge(providerName). Now I added octa and want to trigger it so it will redirect the caller to it’s authentication page and gives me accesss token. How to achieve this in .net framework 4.6. Please 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:** [March 30, 2021, 4:25pm UTC](https://devforum.okta.com/t/trigger-okta-when-we-have-multiple-stand-alone-identity-providers-using-httpcontext-getowincontext-authentication-challenge/13544/2 "2021-03-30T16:25:20Z")

</div>

Are you trying to use Okta like a Social auth provider? Does your .NET application currently only work for these social providers and you haven’t yet integrated with Okta?

---

<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, 4:39pm UTC](https://devforum.okta.com/t/trigger-okta-when-we-have-multiple-stand-alone-identity-providers-using-httpcontext-getowincontext-authentication-challenge/13544/3 "2021-03-30T16:39:59Z")

</div>

Yes, I am using it as an additional identity provider.  
I am new to okta and trying to use okta without changing current implementation.

---

<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 27, 2024, 12:08am UTC](https://devforum.okta.com/t/trigger-okta-when-we-have-multiple-stand-alone-identity-providers-using-httpcontext-getowincontext-authentication-challenge/13544/4 "2024-01-27T00:08:13Z")

</div>


