Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Google Identity Service #84

Open
luka-TU opened this issue Sep 6, 2021 · 0 comments
Open

Does not work with Google Identity Service #84

luka-TU opened this issue Sep 6, 2021 · 0 comments

Comments

@luka-TU
Copy link

luka-TU commented Sep 6, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant