# SSO with Firebase

**URL:** <https://meta.discourse.org/t/sso-with-firebase/56524>\
**Category:** SSO\
**Created:** [January 28, 2017, 6:52pm UTC](https://meta.discourse.org/t/sso-with-firebase/56524 "2017-01-28T18:52:44Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Curtis\_Cooper](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Curtis\_Cooper](https://meta.discourse.org/u/Curtis_Cooper)\
**Post date:** [October 19, 2018, 9:40pm UTC](https://meta.discourse.org/t/sso-with-firebase/56524/11 "2018-10-19T21:40:03Z")

</div>

Just wanted to thank you for sharing your code! Worked great!

Some related things in case anyone else walks down this road:

- be sure to add your domain to Authorized domains in Firebase Console (Authentication → Sign-in Method)

- pay careful attention to this comment in the code above, during testing it might catch you off guard `// In this case, we are enforcing that the user signed in in the last 5 minutes.`

- if you need to use CORS to access from a different domain you can use multiple middlewares by passing in an array: [cors(corsOptions),formidable()]

Thanks again for sharing!

---

_[View the full topic](https://meta.discourse.org/t/sso-with-firebase/56524)._
