Reputation: 424
For a cross platform app that's on Windows and macOS, should this use the same Google OAuth 2.0 client ID for both platforms, or separate IDs?
The Google docs state that each platform should have its own client ID, but there's no specific platform selection for Windows and macOS, just "Desktop" - while there are specific platforms for e.g. iOS and Android. This leads me to believe they consider all desktop platforms as one.
Upvotes: 0
Views: 69
Reputation: 2805
You can consider all desktop operating systems as one in this context as they offer the same capabilities w.r.t. how they can use a browser to complete an authorization flow. gcloud
, for example, also uses the same client ID across all OS.
Upvotes: 1