ueberauth_github icon indicating copy to clipboard operation
ueberauth_github copied to clipboard

conn.private.github_user not set in callback

Open naps62 opened this issue 8 years ago • 1 comments

Running a new phoenix 1.4 app, I'm having trouble accessing user data after sign in with Github

plug Ueberauth

def callback(conn, %{"provider" => "github", "code" => code} = params) do
  IO.inspect conn.private.github_user # this is nil
end

However, editing the package's code directly in deps/ueberauth_github, and adding some IO.inspect calls, I'm able to verify that all the values are correctly set to the conn object there. They're just not being passed down.

Is there something I might be missing here?

naps62 avatar Jun 14 '17 22:06 naps62

@naps62 is your code somewhere we could take a peek at?

doomspork avatar Jul 26 '17 20:07 doomspork