I am currently using the AppleAuth.NET library to handle Apple authentication for both a web application and a mobile app. However, I have encountered an issue when trying to manage multiple Apple clients simultaneously (i.e., using different configurations for web and mobile).
The AppleAuthProvider class in the library uses static fields to store the Apple client configuration, such as ClientID, TeamID, KeyID, and RedirectURL. This design causes the configuration to be shared across all instances of AppleAuthProvider, making it impossible to use different configurations for web and mobile in the same application.