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

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

Step 1: Goto Google Developer console and create new app

enter image description here

Step 2:Enable the google plus api

enter image description here

enter image description here

You can see the enable api in the Enable API's tab which is next to API Library ,which is visible in second image.

Step 3: Goto to credential in API & auth tab then select credentials option

select the type of authentication you require

then you will can see the configure consent screen configure the page with the information you wish to provide .

enter image description here

Step 4: Select the web Application option on top and enter required url's

enter image description here

and finally click create button

once you do that ..you can see ...client id and client secret key...

enter image description here


When in iOS, the application type of the OAuth credential should be 'iOS'. And then you should pass an empty string as the client secret in your code.