Satya Kalluri
Satya Kalluri

Reputation: 5214

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

Simple API Access

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

Upvotes: 22

Views: 36856

Answers (5)

Dev Rua
Dev Rua

Reputation: 1

Download file JSON Client ID : enter image description here

File name JSON is Client secret : enter image description here

And client secret is same client ID

Upvotes: 0

iwazovsky
iwazovsky

Reputation: 1927

In case if anyone will step into thi misunderstanding like I did.
If you create OAuth client with Application type "android" (and Chrome App as @Erich answered) you won't get client secret.

Use this (picture) instructions to acquire the key. enter image description here

Upvotes: 1

Erich
Erich

Reputation: 2773

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.

Upvotes: 2

Nexus7_2012
Nexus7_2012

Reputation: 754

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

Upvotes: 3

Satya Kalluri
Satya Kalluri

Reputation: 5214

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.

Upvotes: 31

Related Questions