Hi, I implemented constant contacts OAuth flow and added all the required params and scopes. The scopes I added are campaign_data, offline_access and contact_data. As the documentation suggests we need user to allow offline_access scope in order to get access_token and refresh_token. Request for authorization: https://authz.constantcontact.com/oauth2/default/v1/authorize?response_type=code&client_id={my_client_id}&scope=contact_data%20campaign_data%20offline_access&state=123456789&redirect_uri=https://app.reputationarm/auth/constantcontact The issue I'm facing is permission request screen doesn't show so user cannot allow required scopes. The url above redirects me to the redirect_uri with the code required to get access_token and refresh_token. When I make token request I get Error 401: Unauthorized as user didn't allow offline_access. Request to get access_token: $response = Http::withHeaders([ "Content-Type" => "application/x-www-form-urlencoded", "Authorization" => $authorization ])->post('https://authz.constantcontact.com/oauth2/default/v1/token', [ 'code' => $code, 'grant_type' => 'authorization_code', 'redirect_uri' => 'https://app.reputationarm.com/auth/constantcontact', ]); $authorization is base64 encoded string client_id:client_secret. Let me know what I'm doing wrong. Regards
... View more