Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
因此,如果用户第一次访问该页面并且仍然没有授权信息共享,是否有办法使用 JavaScipt 检测是否存在令牌或令牌是否仍然有效?
想办法:
google.accounts.user.checkLogin(scope)