How to get client secret from Google Developers Console in iOS?

I am currently working on one of the old projects, which has a client identifier and a client secret. Now I want to update them with a new client and client ID using a different developer account. I followed every step from

https://developers.google.com/+/mobile/ios/getting-started

Google API API Console - No Client Secrecy

But I see only the client identifier. Where is the client's secret?

Here I see only the client ID enter image description here

+6
source share
2 answers

Hey, this is step by step, hope this helps you ...

Step 1: Go to the Google Developer Console and create a new application

enter image description here

Step 2: enable google plus api

enter image description here

enter image description here

You can see the activation of the api on the Enable API tab, which is located next to the API Library , which is visible in the second image.

Step 3: go to the credentials in the API and auth tab, then select the credentials option

select the type of authentication required

then you can see the configuration confirmation screen to customize the page with the information you want to provide.

enter image description here

Step 4: Select the web application option at the top and enter the required URL

enter image description here

and finally click create

as soon as you do that. You can see ... client id and client secret key ...

enter image description here

+7
source

When in iOS, the OAuth credential application type should be β€œiOS”. And then you have to pass an empty string as client security in your code.

0
source

All Articles