Using Rails and Oauth2, I am running into an error that says: "{"error_description":"Invalid client or client credentials","error":"invalid_client"}" What is strange that I'm able to generate the initial URL: https://idfed.constantcontact.com/as//authorization.oauth2?pfidpadapterid=ctctOAuth2IdpAdapter&scope=contact_data%20account_read&response_type=code&redirect_uri=http://localhost:3020/users/auth/constant_contact/callback&state=c8524b19e061ec81c1d648461bbb968677d926749c82cc63&client_id=874b475b-085b-42a8-a57b-f579755dcc83& Takes me to the "XXX is requesting permission for the following: etc..." I see the name of the APP I created which leads me to think that the client id I am passing is correct. I created my own strategy based off this: https://github.com/omniauth/omniauth-oauth2 I specified the following: option :client_options, { site: 'https://api.cc.email/v3/', token_url: 'https://idfed.constantcontact.com/as/token.oauth2', authorize_url: 'https://api.cc.email/v3/idfed', grant_type: "authorization_code" } Any ideas on where to look?
... View more