The source project of this merge request has been removed.
Fix JWT Claims and Socket Flag Handling to Improve Just Dance® Server Connection
I've changed the following:
Fix JWT token generation
- Updated the
Subject
inSecurityTokenDescriptor
to useClaimsIdentity
so the claim is properly embedded in the token. - Fixed random number generation for
deviceAccountId
.
Update socket flag handling in IClient.cs
- Refined logic for
F_SETFL
by settingsocket.Blocking
based onarg
, aligning behavior with FreeBSD's implementation. - This resolves the
EOPNOTSUPP
error encountered when running Just Dance®.
Outcome These changes allow Just Dance® to progress further in connecting to the server. However, after a successful connection, the following warning is now logged every microsecond:)
|W| HLE.GuestThread.46 KernelSvc : WaitSynchronization(handleIndex: 0x00000000) = InvalidHandle
Further investigation is needed to address this new issue.