Skip to content
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

Oauth is generating API key instead of Client Credentials #561

Closed
zaadams opened this issue Sep 19, 2019 · 28 comments
Closed

Oauth is generating API key instead of Client Credentials #561

zaadams opened this issue Sep 19, 2019 · 28 comments
Assignees
Labels

Comments

@zaadams
Copy link

@zaadams zaadams commented Sep 19, 2019

Hi,
When trying to connect Site Kit to WP, On step 1 for creating new client ID, I follow the link and when I arrive at the page, I click Generate OAuth Credentials. Instead of giving me Client Credentials, It gives me an API Key. The Plug in is not wanting an API Key.

Capture

@vamshi428

This comment has been minimized.

Copy link

@vamshi428 vamshi428 commented Sep 20, 2019

I have the same problem help me

@enricoy

This comment has been minimized.

Copy link

@enricoy enricoy commented Sep 20, 2019

Same here.

@fether-dev

This comment has been minimized.

Copy link

@fether-dev fether-dev commented Sep 20, 2019

same here

@Sanjoy123456

This comment has been minimized.

Copy link

@Sanjoy123456 Sanjoy123456 commented Sep 20, 2019

Same here

@jamesozzie jamesozzie self-assigned this Sep 20, 2019
@jamesozzie

This comment has been minimized.

Copy link
Collaborator

@jamesozzie jamesozzie commented Sep 20, 2019

@zaadams @enricoy @Sanjoy123456 @fether-dev @vamshi428 We are looking into this at the moment, please bear with us while we investigate.

@dannydickson

This comment has been minimized.

Copy link

@dannydickson dannydickson commented Sep 20, 2019

I'm having this issue as well. Thanks for looking into it @jamesozzie. Let us know what you find out.

@usmanswift

This comment has been minimized.

Copy link

@usmanswift usmanswift commented Sep 20, 2019

@zaadams @enricoy @Sanjoy123456 @fether-dev @vamshi428 We are looking into this at the moment, please bear with us while we investigate.

I'm facing the same issue....

@ayohewitt

This comment has been minimized.

Copy link

@ayohewitt ayohewitt commented Sep 20, 2019

@jamesozzie, We got the same issue as well. Thanks for working on this. I'm looking forward to working with Site Kit for the first time.

@michaelgenova

This comment has been minimized.

Copy link

@michaelgenova michaelgenova commented Sep 20, 2019

same here

@thesavvydon

This comment has been minimized.

Copy link

@thesavvydon thesavvydon commented Sep 21, 2019

i am also having this issue

@genc74

This comment has been minimized.

Copy link

@genc74 genc74 commented Sep 21, 2019

also get the same issue, i get only API key not the OAuth Client ID Conf

@AdelDima

This comment has been minimized.

Copy link

@AdelDima AdelDima commented Sep 21, 2019

I hope this gets fixed soon.

@ayohewitt

This comment has been minimized.

Copy link

@ayohewitt ayohewitt commented Sep 21, 2019

Is there a way to manually create the client config? I already have a Google Cloud Project created, can I insert my apps credentials into a code snippet template? Maybe this could be a temporary work-around?

@hfrid

This comment has been minimized.

Copy link

@hfrid hfrid commented Sep 21, 2019

Yup same issue here..

@kama003

This comment has been minimized.

Copy link

@kama003 kama003 commented Sep 21, 2019

yes the same problem even I try to get Client Credentials from API console but it didn't work

@Invariant-Change

This comment has been minimized.

Copy link

@Invariant-Change Invariant-Change commented Sep 21, 2019

@jamesozzie Any fixes yet?

@usmanswift

This comment has been minimized.

Copy link

@usmanswift usmanswift commented Sep 21, 2019

You can manually set it up by entering details in given code

{ "web": { "client_id": "Client ID Goes Here", "project_id": "Project ID Goes Here", "auth_url": "https://accounts.google.com/o/auth2/auth", "token_url": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_secret": "Client Secret Goes Here", "redirect_uris": [ "https://yourdomain.com?oauth2callback=1" ] } }

@usmanswift

This comment has been minimized.

Copy link

@usmanswift usmanswift commented Sep 21, 2019

You can manually set it up by entering details in given code

{ "web": { "client_id": "Client ID Goes Here", "project_id": "Project ID Goes Here", "auth_url": "https://accounts.google.com/o/auth2/auth", "token_url": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_secret": "Client Secret Goes Here", "redirect_uris": [ "https://yourdomain.com?oauth2callback=1" ] } }

Example is given below

{ "web": { "client_id": "1031765-a0i7j5327d40fvcmmkaug2s81eb.apps.googleusercontent.com", "project_id": "news-angels-156987741", "auth_url": "https://accounts.google.com/o/auth2/auth", "token_url": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_secret": "EHeTYxchhvuufvTlYq", "redirect_uris": [ "https://newsangels.com?oauth2callback=1" ] } }

@hfrid

This comment has been minimized.

Copy link

@hfrid hfrid commented Sep 21, 2019

And do you know the client-ID and client_secret ?

@usmanswift

This comment has been minimized.

Copy link

@usmanswift usmanswift commented Sep 21, 2019

Here some Images to get Project ID, Client Secret and Client ID etc

Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Screenshot 6
Screenshot 7
Screenshot 8
Screenshot 9

@usmanswift

This comment has been minimized.

Copy link

@usmanswift usmanswift commented Sep 21, 2019

And do you know the client-ID and client_secret ?

Screenshot 5

@usmanswift

This comment has been minimized.

Copy link

@usmanswift usmanswift commented Sep 21, 2019

And do you know the client-ID and client_secret ?

Let me know if it works or not.

@ayohewitt

This comment has been minimized.

Copy link

@ayohewitt ayohewitt commented Sep 21, 2019

@usmanswift , Thank you so much!! lifesaver. It worked for me. And it is also good to know how to do this manually as well. Thanks again bro!

@usmanswift

This comment has been minimized.

Copy link

@usmanswift usmanswift commented Sep 21, 2019

@usmanswift , Thank you so much!! lifesaver. It worked for me. And it is also good to know how to do this manually as well. Thanks again bro!

I'm glad, I was helpful.

@adampatterson

This comment has been minimized.

Copy link

@adampatterson adampatterson commented Sep 23, 2019

@usmanswift Thanks a lot! I Was struggling for sure.

I found this which might help, Once you correctly enter your callback details you can download the JSON config here.
image

@usmanswift

This comment has been minimized.

Copy link

@usmanswift usmanswift commented Sep 23, 2019

@usmanswift Thanks a lot! I Was struggling for sure.

I found this which might help, One you correctly enter your callback details you can download the JSON config here.
image

Good Idea, thanks for sharing

@jpgif

This comment has been minimized.

Copy link

@jpgif jpgif commented Sep 24, 2019

@usmanswift , Thank you so much!! lifesaver. It worked for me. And it is also good to know how to do this manually as well. Thanks again bro!

I'm glad, I was helpful.

Thank you very much, that made the trick!

@swissspidy

This comment has been minimized.

Copy link
Member

@swissspidy swissspidy commented Sep 26, 2019

Good news everyone!

The issue with the client credentials generation has been resolved and you should all be able to set up Site Kit as expected.

If you still experience issues, please let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
You can’t perform that action at this time.