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,949
5,261
113
Visit site
Welcome to Android Central! I moved this to the Software Development forum for more specific traffic.
 

Forum statistics

Threads
944,465
Messages
6,922,875
Members
3,159,568
Latest member
youngdaddy3