diff --git a/src/Components/MeuBotaoGoogle.js b/src/Components/MeuBotaoGoogle.js index 6d0a0f07437cdf2988943e8dead6e084af44071c..088eca7919399f5d81a27b0336e4c0469d90c6b8 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), )