# AzureAD in place of Cognito?

**URL:** <https://discourse.sst.dev/t/azuread-in-place-of-cognito/263>\
**Category:** General\
**Created:** [June 6, 2018, 9:16pm UTC](https://discourse.sst.dev/t/azuread-in-place-of-cognito/263 "2018-06-06T21:16:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pb3975](https://avatars.discourse-cdn.com/v4/letter/p/b77776/32.png) [@pb3975](https://discourse.sst.dev/u/pb3975)\
**Post date:** [June 6, 2018, 9:16pm UTC](https://discourse.sst.dev/t/azuread-in-place-of-cognito/263/1 "2018-06-06T21:16:11Z")

</div>

I love the guide so far. Is Cognito the ONLY way to Authenticate Users? We have an AzureAD instance and would be great if we could use that.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [June 6, 2018, 11:22pm UTC](https://discourse.sst.dev/t/azuread-in-place-of-cognito/263/2 "2018-06-06T23:22:58Z")

</div>

Yeah currently we only support Cognito. We might look into other auth providers down the road.

---

<div class="post-metadata">

**Author:** ![paragao](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/paragao/32/401_2.png) [@paragao](https://discourse.sst.dev/u/paragao)\
**Post date:** [February 10, 2019, 1:06am UTC](https://discourse.sst.dev/t/azuread-in-place-of-cognito/263/3 "2019-02-10T01:06:56Z")

</div>

You can integrate Cognito and AzureAD using AWS SSO (Single SignOn). It uses SAML 2.0 to connect to AzureAD. Then you can still use Cognito, as suggested in this tutorial, but your user database would be AzureAD (Cognito validates with AzureAD if it is a valid user).
