Open hjstn opened 2 years ago
Can you give more information about the use case for real-time updates in your course app? Is polling the API causing issues?
There were a few ideas that I had considered which I believe would beneift from real-time information:
I think that it may be better to bring up a WebView to handle Shibboleth authentication in the latter case and use the real-time socket as normal, but I'm not sure what the best strategy to work around the lack of real-time information for the first case.
Currently, the socket that allows real-time updates on the Queue verifies user authentication using the stored JWT token, which is only present if the user authenticates through Shibboleth. This prevents other services (e.g. apps, etc.) from getting real-time information such as the queue status without regularly polling the Queue's other APIs.