grails-oauth-scribe icon indicating copy to clipboard operation
grails-oauth-scribe copied to clipboard

not saving access token in session

Open westlakem opened this issue 8 years ago • 1 comments

After making my request this is what's in the session

Session Content: org.codehaus.groovy.grails.FLASH_SCOPE = org.codehaus.groovy.grails.web.servlet.GrailsFlashScope@2dd733e4 intuit:oasRequestToken = Token[xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx , yyyyyyyyyyyyyyyyyyyyyy]

(with actual values where 'xxxxxxxxx' and 'yyyyyy' are)

According to the documentation, I need the authorization token not the request token to access my website again, and I feel that's the case because when I try to make the request using the above token, I get a 401 unauthorized message.

Here is the response from my connection request: response status code: 200 response body: oauth_token_secret=yyyyyyyyyyyyyyyyyy&oauth_callback_confirmed=true&oauth_token=xxxxxxxxxxxxxxxxxxxxxxx

westlakem avatar Nov 22 '15 23:11 westlakem