when I post the following url into restclient
(with USERNAME replaced with my username, and MYTOKEN replaced with the "consumer secret" I got from the "api keys" link on this site), I get the following error:
WWW-Authenticate: Bearer error='invalid_token',error_description='Invalid token: [token removed for message post]',specificCause='org.springframework.security.oauth.provider.token.InvalidOAuthTokenException: Invalid token: [token removed for message post]',
Any clue as to what's going wrong?
Go to Solution.
The consumer secret is different than the access token. You use the secret and API Key to obtain a token.
For additional information, please read this link: http://community.constantcontact.com/t5/Documentation/Authentication-using-OAuth-2-0-Server-and-Clie...
That would explain it. Thanks alot.