[
https://issues.apache.org/jira/browse/SHINDIG-1791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Lillie updated SHINDIG-1791:
----------------------------------
Fix Version/s: (was: 2.5.0-beta2)
Affects Version/s: (was: 2.5.0)
> BasicOAuth2Store client lookup fails with sharedTokens set
> ----------------------------------------------------------
>
> Key: SHINDIG-1791
> URL: https://issues.apache.org/jira/browse/SHINDIG-1791
> Project: Shindig
> Issue Type: Bug
> Components: Java
> Affects Versions: 2.5.0-beta2
> Reporter: Brian Lillie
>
> If an OAuth2 client is configured with sharedTokens, then when trying to set
> the token into the cache/persistence in the setToken method of the
> BasicOAuth2Store, the 'url' containing clientId:serviceName is passed to the
> getToken(...) method, rather than the actual gadget url. As a result, when
> getGadgetUri calls getClient, it will call using the clientId:serviceName as
> the URL, resulting in a client not found. Since the getGadgetUri returns the
> incoming URL if the client is not found, the code may still work, but for the
> wrong reasons.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira