-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oauth2.0 approval_prompt = force #5
Comments
while you can't set it in the array, you can still append it to the URL if you need to. |
Hello, 'approval_prompt' => 'force' is not working as expected. Also It is not returning refresh_token with $user->GetOAuth2Info() under below code. $OAuth2Handler = $user->GetOAuth2Handler(); Thanks, |
Hi @chiragvels Thanks, |
Hello @vtsao , I am passing parameters properly. However I found this issue that approval_prompt=force is replaced with prompt = consent, and that was solved this problem. I have also conversation going on at forum, I think you can clear idea of my problem from this thread. Thanks, |
mmm okay, then I guess our OAuth2 params have changed. Either way it's not specific to this library, but thanks for pointing it out. |
Hello All,
I am not seeing approval_prompt option under Oauth2.0 authentication which can enable user to approve appllication request every time he logged in with google account.
For more info please see this forum question:
https://groups.google.com/forum/#!searchin/adwords-api/oauth2.0/adwords-api/GTClxukrLCE/GdO1bRsGkWkJ
No option for this under PHP Client library v201306.
Thanks,
Chirag
Jul 17, 2013 Delete comment #1 chirag.ebrandz
Hi,
Any update?
Jul 22, 2013 Delete comment Project Member #2 api.pmatthews
Hi Chirag,
Thank you for your feature request. For the a quick workaround, I suggest you edit your copy of the OAuth2Handler.php to add the following:
Edit the GetAuthorizationUrl.php function to update the $params array as follows:
File path:
/src/Google/Api/Ads/Common/OAuth2Handler.php
See the link below for the current version:
https://code.google.com/p/google-api-adwords-php/source/browse/src/Google/Api/Ads/Common/Util/OAuth2Handler.php#59
Regards,
Labels: -Type-Question Type-en
Jul 22, 2013 Delete comment Project Member Unmarshalling Error #3 api.pmatthews
(No comment was entered for this change.)
Labels: -Type-en Type-Enhancement
Jul 23, 2013 Delete comment Get beta version of this client library to stable. #4 chirag.ebrandz
Hello Paul,
Yes, I dont wants to disturb API. So i have done this when getting to authorization Url by adding extra param.
I have one more Question under enhancement.
I am not getting any user information by calling Oauth 2.0. For e.g. user email.
For this i need to add any other scope. So how i can add other scopes?
Thanks,
Chirag
Sep 26, 2013 Delete comment Project Member #5 api.pmatthews
We're looking into adding a config parameter for the approval_promt setting.
Can you explain what service you're calling that is not returning a user email?
Regards,
Status: Accepted
Sep 26, 2013 Delete comment Short description of the bug #6 chirag.ereportz
Hi,
I'm trying to calling CustomerService.
CustomerService that will give me idea about customer who tryed to get data using API.
This will help a lot when user is using MCC account for authentication, and adwords account has no CompanyName / Name info.
Oct 4, 2013 Delete comment #7 chirag.ereportz
Also, I requested you to Add all beta feature to be available for all developer.
The text was updated successfully, but these errors were encountered: