Pergunta

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?

Foi útil?

Solução

Figure it out:

google.accounts.user.checkLogin(scope)
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top