Hello,
I am using the google V3 API. I am working with javascript library code. All my code is based on javascript API. I have used the example & integrated the code for authentication & list out videos. But I am wondering for logout functionality code.
My authentication functionality is working well. But after login I am using gapi.auth.signOut() API to make the user log out from google. But it seems not working, I followed the instruction of this page -
https://developers.google.com/+/web/signin/sign-out.
As per instruction I put the following code for logging out the user.
gapi.auth.signIn({cookiepolicy:'none', class:'g-signin', clientid:clientId, callback:function(authResult){ gapi.auth.signOut(); }});
But it is not helping out to make the user sing out.
Can anybody let me know what mistake I am making ?
Thanks,