I set up this plugin on a site today and could not get it to authenticate against Google. It kept throwing 302 Found errors on the CFHTTP call in the getRefreshToken() method on our production server (Windows) and 405 Method Not Found errors on my local (Mac). I was able to track it down to the proxy stuff. We do not use a proxy. I had to find every CFHTTP call and remove all the proxy attributes. Can you consider modifying this to use attributeCollection and a struct? Then only provide the argumentCollection the proxy information if a proxy is being used? Apparently just an empty string in the proxyServer attribute is not good enough.
Once I removed all the proxy* attributes from all CFHTTP tags I was able to get it to authenticate properly. I can make this change if you give the OK. On Monday, March 4, 2013 6:26:15 PM UTC-5, Blair McK wrote: > > Now using v3, which should be faster. Glad you like the proxy addition, we > had the same problem with some clients as you did. I hadn't realised there > was a restriction on the domains, that's a real pity. > > Blair > > > On Tue, Mar 5, 2013 at 10:22 AM, Mark Picker > <[email protected]<javascript:> > > wrote: > >> Firstly, woohoo I saw that proxies are now supported. However, I've now >> discovered that you can't create a client ID for internal domains (unless >> you use http://localhost/ which isn't an option for us). Bummer. >> >> >> On Tuesday, 5 March 2013 09:37:45 UTC+11, Mark Picker wrote: >> >>> I'm happy tp test this tonight but won't be 100% the same as your code. >>> I know from testing it eariler in the year that I'll need to change and >>> cfhttp request to include proxy and proxyport info. >>> >>> So this is now using the Google v2.4 or v3 API? >>> >>> Cheers >>> Mark >>> >> -- >> You received this message cos you are subscribed to "farcry-dev" Google >> group. >> To post, email: [email protected] <javascript:> >> To unsubscribe, email: [email protected] <javascript:> >> For more options: http://groups.google.com/group/farcry-dev >> -------------------------------- >> Follow us on Twitter: http://twitter.com/farcry >> --- >> You received this message because you are subscribed to the Google Groups >> "farcry-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry --- You received this message because you are subscribed to the Google Groups "farcry-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
