angular-google-signin icon indicating copy to clipboard operation
angular-google-signin copied to clipboard

signOut issue that is related to TS types?

Open donjae opened this issue 8 years ago • 3 comments

Hi,

I'm working on a signout button, but whenever I call gapi.auth2.getAuthInstance().signOut() I get the following error:

cb=gapi.loaded_1:90 Uncaught TypeError: Cannot read property 'style' of null at G_ (cb=gapi.loaded_1:90) at H_.<anonymous> (cb=gapi.loaded_1:93) at Function.<anonymous> (cb=gapi.loaded_0:151) at MessagePort.c.port1.onmessage (cb=gapi.loaded_0:72)

The signout functionality works, but interestingly enough, it's still throwing this error even when I tried catching it. Anybody have any clues on how to fix this error?

donjae avatar Jan 26 '17 16:01 donjae

Have you got a solution on it? I have exactly the same problem

tom10271 avatar Oct 18 '17 02:10 tom10271

https://github.com/google/google-api-javascript-client/issues/281

tom10271 avatar Oct 18 '17 02:10 tom10271

Hi! I will look into it this weekend, bare with me!

miltador avatar Dec 22 '17 09:12 miltador