Skip to content

Does not work with Google Identity Service #84

@luka-TU

Description

@luka-TU

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions