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 
account.

Also It is not returning refresh_token with $user->GetOAuth2Info() under 
below code.

$OAuth2Handler = $user->GetOAuth2Handler();
$user->SetOAuth2Info($OAuth2Handler->GetAccessToken($user->GetOAuth2Info(), 
$code, $redirectUri));
$user->GetOAuth2Info();

Thanks,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
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 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b3691f07-f51f-454b-ab07-0041ad4f8494%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Oauth2.0 'approva... cv
    • Re: Oauth2.0... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
      • Re: Oaut... cv
        • Re: ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
          • ... cv
            • ... cv
              • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
                • ... cv
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum
                • ... cv
                • ... 'Josh Radcliff (AdWords API Team)' via AdWords API Forum

Reply via email to