apigee - OAuth 2.0 And Google Cloud Print -
i created project called: "projectprint-123"
https://console.developers.google.com/apis/credentials/oauthclient?project=projectprint-123
credentials
web application name : projectprint-123
what ask can 1. authorized javascript origins 2. authorized redirect uris put empty? because testing localhost. ok. proceed empty.
what oauth consent screen? fill in email address @ part. ok. proceed next.
then try
https://www.google.com/cloudprint/getauthcode? printerid=5e0db751-9498-677d-9cf3-3a7284978279&oauth_client_id=254414591833-7lg4a5nnnh009g9ccf613notg8vceunp.apps.googleusercontent.com
fail:
{ "success": false, "message": "unknown, used or expired token.", "request": { "time": "0", "params": { "oauth_client_id": [ "254414591833-7lg4a5nnnh009g9ccf613notg8vceunp.apps.googleusercontent.com" ], "printerid": [ "5e0db751-9498-677d-9cf3-3a7284978279" ] } }, "errorcode": 506 }
i using apigee application send
i appreciate if can help. thank you.
Comments
Post a Comment