diff --git a/Assets/Scripts/Sharing/OAuth2Identity.cs b/Assets/Scripts/Sharing/OAuth2Identity.cs index a9e66905c9..cfea48f6fb 100644 --- a/Assets/Scripts/Sharing/OAuth2Identity.cs +++ b/Assets/Scripts/Sharing/OAuth2Identity.cs @@ -103,7 +103,7 @@ private static void LogOutAll() public bool IsGoogle => m_Service == SecretsConfig.Service.Google; public UserCredential UserCredential => m_CredentialRequest?.UserCredential; - private SecretsConfig.ServiceAuthData ServiceAuthData => App.Config.Secrets[m_Service]; + private SecretsConfig.ServiceAuthData ServiceAuthData => App.Config.Secrets?[m_Service]; public string ClientId => ServiceAuthData?.ClientId; private string ClientSecret => ServiceAuthData?.ClientSecret;