msr
msr
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
hm.. i think I am using both add auth and add negotiate. i will explore that and see what I can find
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
its been challenging to integrate whenever I have needed to leverage it
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
i know very very little about oauth and auth in general
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
its been a unique enterprise experience as none of our products are hosted on the cloud, and all in very closed off on prem/intranet environments
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
they wanted to update to use 2 factor auth with a SSO, but it seems a bit annoying to implement, so I went with the deprecated technology
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
sorry, had a work meeting. this particular tool is an internal tool. I'm getting the windows identity user off of NTLM/Negotiate or whatever it is called. The unique SID. you can't access the tool without being on the enterprise intranet
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
i'm not terribly familiar with oidc, so that goes a bit over my head
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
letting the connection id cleanup eventually doesn't matter as long as the current members of the group have the latest version of participant count, sans the guy who left to watch youtube
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
honestly, because the lobby-state is managed from the concurrent dictionary, it might be sufficient to remove it from there and shoot of an update from the IHubContext to the remaining members of the group
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
thats what I was finding when I went down the road of blocking navigation
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
yikes... yeah that makes 100% perfect sense
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
that makes sense
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
that's an interesting point, there is no page unload in a SPA, so I could add an event handler to that browser event and perform a manual disconnect at that point
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
if they close the tab/browser, i'm also seeing connection drop immediately
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
i want the connection to drop immediately, but I'm seeing what you described, of eventual cleanup
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
if they leave the SPA and go watch youtube
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
on a refresh, we are also cool, connection is persisted
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
if they stay within the SPA, it is perfectly controlled and everything works
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
for the SPA, yes
170 replies
CC#
Created by msr on 12/17/2023 in #help
✅ SignalR Core Disconnect on Navigate
it could also be that the eventual consistency of connection cleanup is good enough. I think using react-router to listen for navigation attempts away from the subdomain could be sufficient, even though that code would be ugly af
170 replies