ueberauth / ueberauth_facebook

Facebook OAuth2 Strategy for Überauth.
MIT License
77 stars 64 forks source link

Cannot authenticate with FB #63

Closed ehayun closed 2 years ago

ehayun commented 3 years ago

I am getting this

[info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1899 generated CLIENT ALERT: Fatal - Unknown CA

%Ueberauth.Failure{
  errors: [
    %Ueberauth.Failure.Error{
      message: "The code has been used or has expired",
      message_key: "invalid_code"
    }
  ],
  provider: :facebook,
  strategy: Ueberauth.Strategy.Facebook
}

any idea?

ianjaku commented 3 years ago

Make sure you're on the newest version of ueberauth_facebook. mix deps.update ueberauth_facebook

Otherwise if you're using phoenix turn on debug_errors by adding debug_errors: true to your Endpoint config. This will give you the real error because the one you posted is a rather generic error in the code.

arjan commented 2 years ago

65 has an update that allows you to update to ueberauth 0.7

yordis commented 2 years ago

I published a new version, please reopen the issue if it still happening