management-tools icon indicating copy to clipboard operation
management-tools copied to clipboard

Server responds 404 on Signin

Open habitoti opened this issue 5 years ago • 2 comments

Not sure if this demo is still supported (after all the changes to the Google Plus APIs...), and there hasn't been traffic here for years. But as I haven't seen any other client for the management APIs, I suppose it should work. I've setup Bower for the demo, and can serve the demo pages. I replaced the client ID and entered the app ID as requested, however when opening the home page, the console keeps showing a 404 on signin (I've redacted the client ID below, but it's correct otherwise):

https://plus.google.com/_/widget/render/signin?usegapi=1&clientid=xxxx-xxxx.apps.googleusercontent.com&cookiepolicy=single_host_origin&scope=https://www.googleapis.com/auth/games+https://www.googleapis.com/auth/drive.appdata&origin=http://localhost:5000&url=http://localhost:5000/demo/demo.html&gsrc=3p&ic=1&jsh=m;/_/scs/apps-static/_/js/k%3Doz.gapi.en_US.zzLpjoAXk6I.O/am%3DwQE/d%3D1/rs%3DAGLTcCPNBsdHIPAdVJZn7w7bH-Qkn5OwYA/m%3D__features__#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled%2Cdrefresh%2Cerefresh%2Conauth%2Conload&id=I0_1556260643612&_gfid=I0_1556260643612&parent=http%3A%2F%2Flocalhost%3A5000&pfname=&rpctoken=65124566 Failed to load resource: the server responded with a status of 404 ()

What could still be wrong here? I've added http://localhost:5000 to the authorized JavaScript sources when setting up a client ID for Web. Anything else that I've might missed? Or is there by now another (easier to set-up ;-) ) solution as client for the management API?

habitoti avatar Apr 26 '19 06:04 habitoti

Same here, used to be working, and now got this error: Source map error: Error: request failed with status 404 Resource URL: http://localhost:9256/demo/demo.html Source Map URL: ../sourcemaps/inpage.js.map

Wish the developer can take a look a do an update (which haven't be maintained for 3 years...)

sweatyc avatar Jan 29 '20 00:01 sweatyc

same here This is response

<!DOCTYPE html>
<html lang=en>
  <meta charset=utf-8>
  <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
  <title>Error 404 (Not Found)!!1</title>
  <style>
    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
  </style>
  <a href=//www.google.com/><span id=logo aria-label=Google></span></a>
  <p><b>404.</b> <ins>That’s an error.</ins>
  <p>The requested URL <code>/u/0/_/widget/render/signin</code> was not found on this server.  <ins>That’s all we know.</ins>

devmiyax avatar Nov 16 '20 21:11 devmiyax