Thanks for the reply. Unfortunately, I tried that and even did a clean Maven build but I got the same exact error.
I now have the following:
What surprises me though is running Debug shows that these parameters are not passed when requesting an Access token.Code:<oauth:resource id="oauth-resource" client-authentication-scheme="form" type="authorization_code" access-token-uri="https://accounts.google.com/o/oauth2/token" user-authorization-uri="https://accounts.google.com/o/oauth2/auth" client-id="dlkfjglksdjglsdjglsdfgdfgagsd" client-secret="sgsdfgsdfgdfgdfgdf" scope="https://www.googleapis.com/auth/analytics.readonly" pre-established-redirect-uri="http://localhost:8080/app/google/test"/> <oauth:rest-template id="oauth-rest-template" resource="oauth-resource"/>


Reply With Quote