Permalink
Browse files

GRAILSPLUGINS-2438 - OauthService#getRequest(Map) does not set access…

… token on OAuthConsumer
  • Loading branch information...
1 parent aba83f1 commit cdff2439f8a722a15656a9ef4e17543911508217 @petedoyle petedoyle committed Sep 1, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 oauth-plugin/grails-app/services/org/grails/plugins/oauth/OauthService.groovy
@@ -266,6 +266,9 @@ class OauthService implements InitializingBean {
throw new OauthServiceException(errorMessage)
}
+ // Set OAuth access token and secret
+ consumer.setTokenWithSecret(token.key, token.secret)
+
if (params) {
log.debug "Putting additional params as URL params: $params"

0 comments on commit cdff243

Please sign in to comment.