We have introduced a new feature to improve security and streamline the experience when switching between user and organization contexts. Whenever a user switches context from user to organization or vice versa, the system will now automatically remove any older tokens associated with the previous context. This ensures that only valid tokens are active at any given time, thereby reducing potential security risks associated with token leakage or misuse.
Additionally, for course creation functionality, we have implemented a default API key for both individual users and organizations. This API key will be used automatically during the AI course creation process, simplifying the process for users and ensuring consistent access to necessary features.
