auth.html 473 B

12345678910111213141516171819202122232425
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Hold on...</title>
  6. <link rel="stylesheet" type="text/css" href="css/main.css" />
  7. </head>
  8. <body>
  9. <script src="js/lib/parseUri.js"></script>
  10. <script>
  11. uri = parseUri(document.location)
  12. if ( uri.queryKey.oauth_token ) {
  13. window.opener.app.authorize(uri.queryKey.oauth_token, uri.queryKey.oauth_verifier);
  14. window.close()
  15. }
  16. </script>
  17. </body>
  18. </html>