Google APIs Console - missing client secret

前端 未结 6 1948
借酒劲吻你
借酒劲吻你 2020-12-02 13:27

I tried to create a testing client id for an android app which uses OAUTH 2.0 as login for retrieving user profile. I followed the steps to complete the creation of the clie

6条回答
  •  萌比男神i
    2020-12-02 13:51

    Since almost everything from the accepted answer has been deprecated, I thought I'd share what I've found.

    I needed the People API which requires a client secret. What Google recommends for using People API with Android is,

    Select the application type Other, enter the name "People API Quickstart", and click the Create button.

    Found here: https://developers.google.com/people/quickstart/java (Step 1 part e)

    So if you need a client secret, you might consider using the Other type. Of course, follow the documentation for your specific API first.

提交回复
热议问题