Google Login : how to hide client_id and secret_id ?

  • Thread starter Android Central Question
  • Start date
A

Android Central Question

Hello everyone !
I want to make an android app that uses "log in with google". I use kivy and kivyauth for that. I managed to create a really simple Desktop app. It works well, BUT it requires the user to have access to the client_id and secret_id. I quite don’t understand how it’s supposed to be a secret if every user must have access to it.

My question is : how do I keep the secret_id (and client_id)… secret ? At the moment, I store them in a text file (ignored by git), but once I’ll launch my app, how do I hide them ?
 

B. Diddy

Senior Ambassador
Moderator
Mar 9, 2012
165,569
4,700
113
Visit site
Welcome to Android Central! I moved this to the Software Development forum for more specific traffic.
 

Forum statistics

Threads
943,084
Messages
6,917,188
Members
3,158,813
Latest member
pierre5463