问题
Currently i am working on one of old project within that there is a client id and client secret. Now i want to update those with new client id and client secret using another Developer account. I followed each and every step from
https://developers.google.com/+/mobile/ios/getting-started
Google APIs Console - missing client secret
But i can see only client id. Where is the client secret ?
Here i can see only client id
回答1:
Hey this is step by step process ,hope this helps you...
Step 1: Goto Google Developer console and create new app
Step 2:Enable the google plus api
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 .
Step 4: Select the web Application option on top and enter required url's
and finally click create button
once you do that ..you can see ...client id and client secret key...
回答2:
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.
来源:https://stackoverflow.com/questions/32071856/how-to-get-client-secret-from-google-developers-console-in-ios