title: How to use FireBase Authentication for SSO
body: <p>How can one use Firebase to SSO into some product?</p>
  <p>Firebase is a <em>federated</em> IdP, meaning, they handle the auth flows for other IdPs, ie Google, Facebook, Twitter, etc.</p>
  <p>So how can I set up a product with SSO that is expecting some kind of Auth flow, ie OIDC, SAML, when FireBase doesn't necessarily do that?  Note, I am comfortable building my own login pages and using the FireBase SDK, I'm just not sure where to start.</p>
  <p>Let's take Google for example.  I can easily setup Google SSO for my product.  I just generate a client ID/Secret in the Google Dashboard, and then use Google's OAuth flow.</p>
  <ol>
  <li>My product initiates the login and redirects to Google for logins</li>
  <li>Google identifies my user and redirects to my product's callback URL</li>
  <li>Done, user is logged in</li>
  </ol>
  <p>How would I do the same thing in FireBase, which is a sort of middleman between my product and Google?</p>