Search Unity

Feature Request Serialization of Google Client ID and Client Secret

Discussion in 'Localization Tools' started by cwnuk_lfl, May 27, 2023.

  1. cwnuk_lfl

    cwnuk_lfl

    Joined:
    Feb 22, 2019
    Posts:
    2
    The current implementation for the Google Sheets Service through the SheetsServiceProvider scriptable object allows the developer to load their credentials from a json file downloaded from google. But those credentials are then serialized as part of the asset, and show up in source control diffs.

    We'd like to avoid those going into source control. While we can tell developers not to commit those changes, it's prone to happen accidentally.

    It would be ideal if we could instead point the SheetsServiceProvider at the json file itself, and it then loaded the credentials when needed, but didn't store them as part of the asset. The json file could then be kept outside the repo, and distributed to developers as needed, keeping the credentials out of source control.
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,282
    Hi,
    Thanks that's a good suggestion. I have seen this issue mentioned a few times now and your idea sounds like a good solution. I'll add this request to our backlog. Thanks!