silentref.html 328 B

12345678910111213141516
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>刷新token</title>
  6. </head>
  7. <body>
  8. <h1>刷新token中...</h1>
  9. </body>
  10. </html>
  11. <script src="./lib/oidc-client.js"></script>
  12. <script>
  13. new Oidc.UserManager().signinSilentCallback().catch((err) => {
  14. console.log("refresh", err);
  15. });
  16. </script>