JavaScript Boolean to check if Google Auth token is still valid?
-
28-10-2019 - |
문제
So if a user first visits the page and still hasnt authorized information share is there a way to detect if there is even a token or if the token is still valid using JavaScipt?
해결책
Figure it out:
google.accounts.user.checkLogin(scope)
제휴하지 않습니다 StackOverflow