Yes, I am passing offline to true.
My main concern is approval prompt is not prompting users to authorised app
Please check this thread for more info
It was working fine prior to client library v13.1.0
I was using v10.0.0.
My code :
$offline = TRUE;
$extra_para = array();
$extra_para['approval_prompt'] = 'force';
$extra_para['state'] = 'info_page';
$OAuth2Handler = $user->GetOAuth2Handler();
On Tuesday, 18 October 2016 19:57:24 UTC+5:30, Josh Radcliff (AdWords API
> When you get the authorization URL, do you pass *true* for the *offline*
> as shown in the GetRefreshToken.php example
> Without that argument set to true, you'll only be given back an *access
> Josh, AdWords API Team
> On Tuesday, October 18, 2016 at 2:29:55 AM UTC-4, cv wrote:
>> Hello All,
>> The 'approval_prompt' => 'force' argument with oauth callback url is not
>> working as expected.
>> If I pass the 'approval_prompt' => 'force', it is not asking user to
>> authorise app forcefully If I had login with already authorized adwords
>> Also It is not returning refresh_token with $user->GetOAuth2Info() under
>> below code.
>> $OAuth2Handler = $user->GetOAuth2Handler();
>> $code, $redirectUri));
Also find us on our blog and Google+:
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to firstname.lastname@example.org
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.