Skip to content

Facebook login? #86

Description

@dcaud

I'm having trouble getting Facebook login to work (Google and email works fine for me). The flow is working up until I sign in to Facebook and then I do not think Shiny/Firebase is seeing a successful login. I believe I've set up Facebook correctly (my app has been approved and I see calls to the Facebook API in my Facebook admin console; appID and redirect are as expected). I believe I've set up Firebase correctly for Facebook (app ID, secret, and OAuth redirect URI are what I expect).

The "Signin with Facebook" button appears in my UI (alongside the Google and Email sign-ins). I am prompted to login to my Facebook account and then I confirm I'm not a robot. But then, Firebase/Shiny does not respond as I expect it to (I'm not successfully logged in according to Firebase and I show no new login in the Firebase admin console).

Here's my basic setup:

f <- FirebaseUI$new(persistence = "local")$
  set_providers(
    email    = TRUE,
    google   = TRUE,
    facebook = TRUE
  )$
  set_privacy_policy_url(
  "../privacy-policy/"
)$set_tos_url(
  "../terms-conditions/"
)$launch()

If observe the login with, e.g.,

observeEvent(f$req_sign_in(), {
  
  print(f)
  
})

I see good data for Google login, but fireblaze_signed_in$success returns FALSE after a Facebook login.

Any ideas on how to troubleshoot this? Any working examples that use Facebook?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions