ueberauth_google
ueberauth_google copied to clipboard
Does not work with Google Identity Service
The library does not seem to work with the rather new (Google Identity Service)[https://developers.google.com/identity/gsi/web/guides/overview].
Example of the callback request:
[info] POST /auth/google/callback
[debug] Processing with AppWeb.OauthController.callback/2
Parameters: %{"clientId" => "xyz", "credential" => "jwt_from_google", "g_csrf_token" => "123123213", "provider" => "google", "select_by" => "btn"}
Pipelines: [:browser]
%Plug.Conn{
adapter: {Plug.Cowboy.Conn, :...},
assigns: %{current_user: nil},
body_params: %{
"clientId" => "xyz",
"credential" => "jwt_from_google",
"g_csrf_token" => "1213123",
"select_by" => "btn"
},
cookies: %{
So it seems nothing gets parsed and assigned to the conn
.