I'm having an iOS and Android app built for a backend we made and in the app we want to user to authenticate their gmail with us. On the iOS quickstart page I see the developer needs to include:
private let kClientID = "YOUR_CLIENT_ID_HERE"
private let kClientSecret = "YOUR_CLIENT_SECRET_HERE"
As far as I know however, I thought that app binaries (for both iOS and Android) can be decompiled so that basically anybody can find out our client_id
and client_secret
.
Seeing that google explains it like this I guess it makes sense, but incorporating secret authentication codes in binaries which I distribute just feels wrong.
Can anybody shed more light on this? All tips are welcome!