Added environment variable configuration to third-party authentication