From 946db0114473b27aedb6225e68ced262b7b860fe Mon Sep 17 00:00:00 2001 From: Max Pyatov Date: Mon, 6 Nov 2023 15:14:31 +0300 Subject: [PATCH] ignore csrf attack --- lib/ueberauth/strategy/google.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ueberauth/strategy/google.ex b/lib/ueberauth/strategy/google.ex index 7ecde68..0347e65 100644 --- a/lib/ueberauth/strategy/google.ex +++ b/lib/ueberauth/strategy/google.ex @@ -8,6 +8,7 @@ defmodule Ueberauth.Strategy.Google do default_scope: "email", hd: nil, userinfo_endpoint: "https://www.googleapis.com/oauth2/v3/userinfo" + ignores_csrf_attack: true alias Ueberauth.Auth.Info alias Ueberauth.Auth.Credentials