From 111c4d2ac5244ad6265e405a311133945f3c90b6 Mon Sep 17 00:00:00 2001 From: Lucas Schoenfelder <les17@inf.ufpr.br> Date: Thu, 6 Aug 2020 14:40:41 -0300 Subject: [PATCH] c --- src/Components/MeuBotaoGoogle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/MeuBotaoGoogle.js b/src/Components/MeuBotaoGoogle.js index 6d0a0f07..088eca79 100644 --- a/src/Components/MeuBotaoGoogle.js +++ b/src/Components/MeuBotaoGoogle.js @@ -7,7 +7,7 @@ import {apiUrl} from '../env'; export default function MeuBotaoGoogle (props) { const handleAuthentication = () => { - axios.get('https://accounts.google.com/o/oauth2/v2/auth?scope=openid%20profile%20email&redirect_uri=http://api.portalmec.c3sl.ufpr.br/v1/omniauth/google_oauth/callback&reponse_type=token&client_id=288460085642-k4veg4fo8kddvjer8b055n9da5qtgha7.apps.googleusercontent.com').then( + axios.get('https://accounts.google.com/o/oauth2/v2/auth?scope=openid%20profile%20email&redirect_uri=http://api.portalmec.c3sl.ufpr.br/v1/omniauth/google_oauth/callback&reponse_type=code&client_id=288460085642-k4veg4fo8kddvjer8b055n9da5qtgha7.apps.googleusercontent.com').then( (response) => console.log(response), (error) => console.log(error), ) -- GitLab