I am following the Quickstart guide here to get Google Drive integration with my android app: https://developers.google.com/drive/quickstart-android .
So I created two Client IDs using the debug and release SHA1 fingerprints for the same package name. The API Console allowed this, but I was wondering since I created the Client ID with the debug key SHA1 fingerprint, will the Google OAuth2 server accept authentication request coming from my release apps?
By the way, I am using Google Play Services API to request auth token, so there's no way to specify the 'Client ID' string shown in the API Console.
A Client ID is an identifier associated with an application that assists with client / server OAuth 2.0 authentication for ArcGIS client APIs . Developers create a client ID by defining an application on their developer dashboard.
The Client ID is a public identifier of your application. The Client Secret is confidential and should only be used to authenticate your application and make requests to LinkedIn's APIs.
You don't need to specify the Client ID in your code because your credentials are matched using the package name/SHA1 fingerprint pair, which is unique.
As you generated credentials for both the debug and release certificate, your requests will be authorized correctly as long as your app uses either of those with the package name specified in the APIs Console.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With