Hi Neha, According to your last message, the exception that you are getting now doesn't seem OAuth-specific, but instead it looks like it may be due to a bug in the Java library you are using ( http://code.google.com/p/google-api-java-client/). Please try asking for support in the dedicated channels:
http://code.google.com/p/google-api-java-client/wiki/Support Thanks Claudio On Wed, Aug 10, 2011 at 1:24 AM, Neha Chandra <[email protected]>wrote: > > Hi, > > Now when i am using the same code its gives error at the following line : > > verifier = callbackServer.waitForVerifier(tempToken); > > and > > the error is: 2011-08-10 13:18:13.368::WARN: EXCEPTION > java.lang.IllegalAccessError: tried to access method > org.mortbay.util.Utf8StringBuffer.<init>(I)V from class > org.mortbay.jetty.HttpURI > > > > > > > On Wed, Aug 3, 2011 at 11:06 AM, Gunjan Sharma <[email protected]>wrote: > >> Hello Neha >> >> The scope that you are using is "https://apps-apis.google.** >> com/a/feeds/user/2.0 <https://apps-apis.google.com/a/feeds/user/2.0>" >> If you are attempting to make calls to the Provisioning API, the OAuth >> scope should be >> "https://apps-apis.google.com/a/feeds/user/<https://apps-apis.google.com/a/feeds/user/2.0> >> " >> The scope depends on the feeds you want to have access to. If you want to >> use other APIs, please check the relevant documentation pages for the >> correct scopes to use. >> >> For more information about Provisioning API OAuth scopes, visit: >> http://code.google.com/**googleapps/domain/gdata_**provisioning_api_v2.0_ >> **developers_protocol.html#3LO_**Tokens<http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_developers_protocol.html#3LO_Tokens> >> >> -- >> Thanks >> Gunjan Sharma >> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Google Apps Domain Information and Management APIs" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/google-apps-mgmt-apis/-/YZjn9eD3htIJ. >> >> To post to this group, send email to >> [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-apps-mgmt-apis?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Apps Domain Information and Management APIs" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-apps-mgmt-apis?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
