# 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:** 26

<div class="post-metadata">

**Author:** ![Ikeda](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ikeda/32/256301_2.png) [@Ikeda](https://meta.discourse.org/u/Ikeda)\
**Post date:** [April 8, 2022, 4:27pm UTC](https://meta.discourse.org/t/sso-with-firebase/56524/26 "2022-04-08T16:27:42Z")

</div>

> [@depthkit](#):
>
> On client-side you’ll need to do something like this:
> 
> ```plaintext
> auth.setPersistence(firebase.auth.Auth.Persistence.SESSION);
> 
> ```

Hmm, what is the purpose of doing this exactly? Are you not using firebase authentication elsewhere in a webapp apart from discourse? I am and don’t want to mess with that setting, I would prefer it as “local” ([Authentication State Persistence &nbsp;|&nbsp; Firebase](https://firebase.google.com/docs/auth/web/auth-state-persistence))

---

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