SharePoint media source auths on init
Quick Information
- Operating System:
- Browser: Chrome / Firefox / Edge / Safari
- Device: Computer / Tablet / Mobile
What Happened?
Authentication is currently being performed when the source is initialized, which can cause issues if the source is not actually accessed. This preemptive authentication can lead to crashes, breaking the entire process even if SharePoint is not needed (see issue #240).
Expected result
Authentication should only be performed when SharePoint is being accessed, not during the source initialization. This would prevent unnecessary authentication and avoid potential crashes that can affect the entire system.
Steps to reproduce
- Initialize the media controller with SharePoint as a source.
- Observe that authentication is performed during initialization.
- Note that if the authentication process fails, it causes the entire system to crash.
- Even if SharePoint is not accessed, the failure in authentication impacts the whole system.
Screenshots
Priority/Severity
-
High (anything that impacts the normal user flow or blocks app usage) -
Medium (anything that negatively affects the user experience) -
Low (anything else e.g., typos, missing icons, layout issues, etc.)
Edited by Jamie Carl