I've tried to integrate Ueberauth and Ueberauth Github to my project and tested it on my localhost, but i've got this error when hit my callback function.
[info] GET /auth/github/callback
[debug] Processing with Discuss.AuthController.callback/2
Parameters: %{"code" => "xxxxxxxx", "provider" => "github"}
Pipelines: [:browser]
[info] TLS :client: In state :wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure
- {:bad_cert, :hostname_check_failed}
"+++++++"
%{
ueberauth_failure: %Ueberauth.Failure{
errors: [
%Ueberauth.Failure.Error{
message: {:tls_alert,
{:handshake_failure,
'TLS client: In state wait_cert_cr at ssl_handshake.erl:1889 generated CLIENT ALERT: Fatal - Handshake Failure\n {bad_cert,hostname_check_failed}'}},
message_key: "OAuth2"
}
],
provider: :github,
strategy: Ueberauth.Strategy.Github
}
}
"+++++++"
Hi,
I've tried to integrate Ueberauth and Ueberauth Github to my project and tested it on my localhost, but i've got this error when hit my callback function.
My mix.exs
mix.lock
Erlang and Elixir version
Thanks in advance.