Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find the Google's OAuth 2.0 client-secret-key for developing chrome-extensions?

I see only the following details in

https://code.google.com/apis/console/b/0/#project:xxxxx:access

Client ID for installed applications

  • Client ID: 477522346600.apps.googleusercontent.com

  • Application type: Chrome App

  • Application ID: gobkdpbocikdfbnfahjladnetpdkvmic

Simple API Access

  • API key: AIzaSyDC_BSfqa1Uhgh3M6KqYUvzXuKX0lMnMaw

  • Referers: Any referer allowed

  • Activated on: Mar 21, 2013 4:35 AM

  • Activated by: [email protected] – you

Now, what's my client-secret value in the above data?

like image 586
Satya Kalluri Avatar asked Mar 21 '13 12:03

Satya Kalluri


3 Answers

OK, figured it out by myself.

  • Click the Download JSON link in the Client ID for installed applications section.

  • Open the JSON in a text-file.

  • You will find the client-secret.

like image 89
Satya Kalluri Avatar answered Nov 07 '22 18:11

Satya Kalluri


On Credentials page, place cursor over Name (Name is not underlined without cursor over it) once Name is highlighted and underlined, click.

Credentials->cursor over name to highlight link, then click

Client Secret Screen will app

like image 41
Nexus7_2012 Avatar answered Nov 07 '22 16:11

Nexus7_2012


For credentials with Chrome App you won't get a client_secret only the client_id. I suggest creating it as type other instead. This should give you an ID and a secret you can use for your extension.

like image 2
Erich Avatar answered Nov 07 '22 16:11

Erich