Eclipse is failing to do oauth to app engine so I have no expectation it would ever work for anything I could possibly develop;)
Seriously how do I reset my eclipse app engine credentials for my Java projects. Command line works fine and I use ouath for an app but deploy from eclipse for the same app started that works in command line is saying in Eclipse/Chrome window: Error: invalid_request Missing required parameter: client_id Learn more Request Details This worked perfectly for several weeks before I tried to make a change recently which makes me think some cookie or something expired but I use this google account all the time. I have tried a few forums to get an answer and while I can deploy via command this really sucks and have hunted around the UI a ton for some kind of resolution. Keep in mind this is the global "Sign in to Google" that is busted but all the other all the links to app engine (besides deploy) work. This makes this even more of a pisser. Can someone even offer a suggestion of how to check/reset Eclipse/Oauth credentials? On Wed, Jan 18, 2012 at 9:10 PM, George Simon K <george.simo...@gmail.com> wrote: > Hi Chris, > > Solution to your problem can be fixed by moving > oauthParameters.setOAuthCallback("http://myappengine/connect.jsp"); > after oauthHelper.getUnauthorizedRequestToken(oauthParameters); > > But this is oauth 1.0 not the updated 1.0.a, means you won't receive a > verifer id and will have the yellow warning message. Solution to this > > 1. Make no changes in step one index.jsp as you have written now. > 2. In Connect jsp > String accessToken = request.getParameter("oauth_token"); > oauthParameters.setOAuthToken(accessToken); > oauthParameters.setOAuthTokenSecret(Unauthorizedtoken); > > oauthHelper.getOAuthParametersFromCallback(request.getQueryString(),oauthParameters); > > String accessToken =oauthHelper.getAccessToken(oauthParameters); > String accessTokenSecret = oauthParameters.getOAuthTokenSecret(); > > > Thanks > George > > > On Thu, Jan 19, 2012 at 12:46 AM, Ikai Lan (Google) <ika...@google.com> > wrote: >> >> This is strange - there should be nothing browser specific about the >> session. >> >> Try to isolate the behavior by removing OAuth out of the equation. What >> happens when you store a variable in session scope without the OAuth flow? >> Does it change each time? >> >> -- >> Ikai Lan >> Developer Programs Engineer, Google App Engine >> plus.ikailan.com >> >> >> >> On Tue, Jan 17, 2012 at 3:14 AM, Christopher Gabin >> <christopher.ga...@ogys.fr> wrote: >>> >>> Hi everyone ! >>> >>> I'm looking for a solution to run my connection oauth with google >>> chrome. currently my code only works on firefox and IE but not on >>> google chrome because when I persist in my OAuthTokenSecret a session >>> variable when google redirect back on my aplication the value of the >>> OAuthTokenSecret in the session variable has changed. >>> >>> >>> my code JAVA : >>> >>> step one index.jsp >>> >>> GoogleOAuthParameters oauthParameters = new GoogleOAuthParameters(); >>> oauthParameters.setOAuthConsumerKey(CONSUMER_KEY); >>> oauthParameters.setOAuthConsumerSecret(CONSUMER_SECRET); >>> >>> oauthParameters.setScope("https://www.google.com/calendar/feeds/ >>> https://spreadsheets.google.com/feeds/"); >>> >>> oauthParameters.setOAuthCallback("http://myappengine/connect.jsp"); >>> >>> GoogleOAuthHelper oauthHelper = new GoogleOAuthHelper(new >>> OAuthHmacSha1Signer()); >>> oauthHelper.getUnauthorizedRequestToken(oauthParameters); >>> String unauth = oauthParameters.getOAuthTokenSecret(); >>> request.getSession(true).setAttribute("accessTokenSecret", >>> unauth); >>> >>> out.println("<a >>> href='"+oauthHelper.createUserAuthorizationUrl(oauthParameters)+"'>log >>> in</a>"); >>> >>> step two after redirect connect.jsp >>> >>> //google chrome on the value changes each time I refreshed the page >>> String Unauthorizedtoken = >>> (String)request.getSession(true).getAttribute("accessTokenSecret"); >>> >>> >>> GoogleOAuthParameters oauthParameters = new >>> GoogleOAuthParameters(); >>> oauthParameters.setOAuthConsumerKey(CONSUMER_KEY); >>> oauthParameters.setOAuthConsumerSecret(CONSUMER_SECRET); >>> oauthParameters.setOAuthTokenSecret(Unauthorizedtoken); >>> GoogleOAuthHelper oauthHelper = new GoogleOAuthHelper(new >>> OAuthHmacSha1Signer()); >>> >>> oauthHelper.getOAuthParametersFromCallback(request.getQueryString(), >>> oauthParameters); >>> String accessToken >>> =oauthHelper.getAccessToken(oauthParameters); >>> String accessTokenSecret = >>> oauthParameters.getOAuthTokenSecret(); >>> >>> >>> People, your help is really needed here. >>> >>> Thanks, >>> >>> Christopher >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Google App Engine for Java" group. >>> To post to this group, send email to >>> google-appengine-java@googlegroups.com. >>> To unsubscribe from this group, send email to >>> google-appengine-java+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/google-appengine-java?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google App Engine for Java" group. >> To post to this group, send email to >> google-appengine-java@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine-java+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" group. > To post to this group, send email to google-appengine-java@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.