1
I’m having trouble running logout with Google social login. I managed to set the login and run successfully receiving the return of the name, email and photo, and redirect to Dashboard successfully.
On Dashboard I entered the meta settings, Plataform.js and link to exit the page, and I get the following message,
Typeerror: gapi.auth2 is Undefined
<a onclick="signOut();"> sair</a>
function signOut() {
var auth2 = gapi.auth2.getAuthInstance();
auth2.signOut().then(function () {
alert('OK');
});
}
Solved dvd.. thanks a lot!!
– RRV