-
Notifications
You must be signed in to change notification settings - Fork 346
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
Got "Required parameter is missing: response_type" when browsing url provide by quickstart.php #24
Comments
Which PHP quickstart is this for? |
It looks like the Drive Activity quickstart. |
In the quickstart.php you linked for us I noticed you added an additional scope + some code for Google_Service_Appsactivity and changed the Composer vendor directory path. I was able to get to the OAuth consent screen successfully with your edits except the vendor directory path and my credentials. Can you confirm you're able to successfully the Drive PHP quickstart as is? |
Hey guys Fatal error: Uncaught exception 'GuzzleHttp\Exception\RequestException' with mes |
Sorry for the delay and thanks to all the people who look at it. I just came back from an obligated rest.
So, answering your question, i am not being able to get to the OAuth consent screen, as you do. Any helps will be very welcome! |
If it helps I can upload my composer.json file |
We can't help if you modify the sample. Please use StackOverflow for generic questions If you still are finding an issue with this sample, please be very specific in a new issue. Perhaps your credentials are incorrect. See issues like this: |
test: added testcase for drive-v2 snippets
I get credentials.json (attached credentials.zip) and I installed composer.
Then I run "composer quickstart.php" provided in the PHP quickstart page (quickstart.php attached)
I get this url to execute: (see phpquickstartOutput.jpg file attached)
https://accounts.google.com/o/oauth2/auth?%20response_type=code&access_type=offline&client_id=433334862655-7vdjqv2iaqhe452ekb8ib7t5hc2ujfqg.apps.go%20ogleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&state&scope=https%3A%2F%20%2Fwww.googleapis.com%2Fauth%2Factivity%20https%3A%2F%2Fwww.googleapis.com%2Fauth%20%2Fdrive.metadata.readonly&approval_prompt=auto
Expected Behavior
Actual Behavior
(See attached file BrowserError.jpg)
I received this error:
"
Required parameter is missing: response_type
response_type=code
access_type=offline
client_id=433334862655-7vdjqv2iaqhe452ekb8ib7t5hc2ujfqg.apps.go ogleusercontent.com
redirect_uri=urn:ietf:wg:oauth:2.0:oob
state=
scope=https:/ /www.googleapis.com/auth/activity https://www.googleapis.com/auth /drive.metadata.readonly
approval_prompt=auto
"
Steps to Reproduce the Problem
with the attached composer.json file
Specifications
php -v
): 7.0credentials.zip
quickstart.zip
The text was updated successfully, but these errors were encountered: