You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shindig.apache.org by "Chris Quirk (JIRA)" <ji...@apache.org> on 2013/02/08 02:16:11 UTC
[jira] [Created] (SHINDIG-1903) oauth2 spring proxy example gadget
is broken with recent change to getProxyUrl
Chris Quirk created SHINDIG-1903:
------------------------------------
Summary: oauth2 spring proxy example gadget is broken with recent change to getProxyUrl
Key: SHINDIG-1903
URL: https://issues.apache.org/jira/browse/SHINDIG-1903
Project: Shindig
Issue Type: Bug
Components: Javascript
Affects Versions: 2.5.0-beta5
Reporter: Chris Quirk
Related to SHINDIG-1875
In the above mentioned issue Erik Bi suggested adding the filename to the proxy url. Unfortunately this breaks the above gadget in that the web.xml filter mapping does not include <url-pattern>/gadgets/proxy/*</url-pattern> but instead <url-pattern>/gadgets/proxy</url-pattern> which does not allow the authfilter to handle oauth proxied calls properly since the authfilter set the security token which is needed further down the chain.
I suggest changing the auth filter url mapping to be <url-pattern>/gadgets/proxy/*</url-pattern> considering that all proxied urls will now have a file name added to the url regardless of whether it is needed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira