diff --git a/Assets/Scripts/Sharing/OAuth2Identity.cs b/Assets/Scripts/Sharing/OAuth2Identity.cs index 5bafccbb0..1444de8f1 100644 --- a/Assets/Scripts/Sharing/OAuth2Identity.cs +++ b/Assets/Scripts/Sharing/OAuth2Identity.cs @@ -104,7 +104,7 @@ private static void LogOutAll() public bool IsGoogle => m_Service == SecretsConfig.Service.Google; public bool IsIcosa => m_Service == SecretsConfig.Service.Icosa; 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;