What Paul said... getActiveUrl should be the URL that is active for the current request, not the URL of the gadget.
On Thu, Mar 10, 2011 at 11:20 AM, Paul Lindner <[email protected]> wrote: > +beaton who wrote that code... > getActiveUrl is used by the OAuthCallback to ensure that the token that > comes back to the current page is a token that the activeUrl generated. A > little confusing, I agree. > > On Mon, Feb 28, 2011 at 3:37 PM, Ryan J Baxter <[email protected]> wrote: >> >> It looks like the URL returned from getActiveUrl is checked against some >> whitelist, is that right? So is getActiveUrl supposed to return the URL >> of the gadget? Whats the difference between getActiveUrl and getAppUrl? >> >> -Ryan >> >> Email: [email protected] >> Phone: 978-899-3041 >> developerWorks Profile >> >> >> >> From: Paul Lindner <[email protected]> >> To: [email protected], >> Cc: Ryan J Baxter/Westford/IBM@Lotus >> Date: 02/28/2011 04:58 AM >> Subject: Re: AbstractSecurityToken.getActiveUrl >> >> >> >> This is used by the oauth proxy. See >> >> >> java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/GadgetOAuthCallbackGenerator.java >> >> >> On Fri, Feb 18, 2011 at 1:37 PM, Ryan J Baxter <[email protected]> >> wrote: >> > Can anyone tell me what the method getActiveUrl is supposed to do in the >> > class AbstractSecurityToken? The method has no Javadoc. >> > >> > -Ryan >> > >> > Email: [email protected] >> > Phone: 978-899-3041 >> > developerWorks Profile >> > >> > >> >> >> >> -- >> Paul Lindner -- [email protected] -- linkedin.com/in/plindner >> >> >> > > > > -- > Paul Lindner -- [email protected] -- linkedin.com/in/plindner >
